summaryrefslogtreecommitdiff
path: root/installer/views/var_dir_status.html.php
blob: 8211e13c04077d8b0910f70c17d6a9c37ace9ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>