summaryrefslogtreecommitdiff
path: root/installer/views/var_dir_status.html.php
diff options
context:
space:
mode:
authorRomain LE DISEZ <romain.git@ledisez.net>2009-07-16 17:31:20 +0200
committerRomain LE DISEZ <romain.git@ledisez.net>2009-07-16 17:31:20 +0200
commit7f5030ac208c30a7dc576a57cd9e665022ccbde5 (patch)
tree6b23e78aa8cc2dd363def46e083217e3c9b52f1b /installer/views/var_dir_status.html.php
parent923732ca4dca6db218f6252a7133cd72f98fa086 (diff)
parent85b0f580291e375a2c5ec21b8210e59023ee24c2 (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'installer/views/var_dir_status.html.php')
-rw-r--r--installer/views/var_dir_status.html.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/installer/views/var_dir_status.html.php b/installer/views/var_dir_status.html.php
new file mode 100644
index 00000000..8211e13c
--- /dev/null
+++ b/installer/views/var_dir_status.html.php
@@ -0,0 +1,30 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<h1> Welcome! </h1>
+<p>
+ Installing Gallery is very easy. We just need to know how to talk
+ to your MySQL database, and we need a place to store your photos on
+ your web host.
+</p>
+
+
+<fieldset>
+ <legend>Photo Storage</legend>
+ <?php if (empty($writable)): ?>
+ <p class="error">
+ We're having trouble creating a place for your photos. Can you
+ help? Please create a directory called "var" using <code>mkdir var</code> in your
+ gallery3 directory, then run <code>chmod 777 var</code>. That
+ should fix it.
+ <br/><br/>
+ <a href="index.php">Check again</a>
+ <br /><br/>
+ <i>(Please fix the photo storage problem before continuing)</i>
+ </p>
+ <?php else: ?>
+ <p class="success">
+ We've found a place to store your photos:
+ <code class="location"> <?= VARPATH ?> </code>
+ </p>
+ <?php endif ?>
+</fieldset>
+