diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-30 14:50:28 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-30 14:50:28 -0700 |
commit | 4405648afb3417baa1cf3808fb91cf979a76b553 (patch) | |
tree | 5e451834619774ef271d4acee9abeeb6d2a53e01 | |
parent | c3cffaf9c798fef99754ebd1e9d9ee1a0f3a0231 (diff) | |
parent | 3a3614fc5523442b87b7625207d45095928f0087 (diff) |
Merge commit 'br3nda/0.8.x-backgroundfix' into 0.8.x
* commit 'br3nda/0.8.x-backgroundfix':
also check for write permission to background folder
-rw-r--r-- | install.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/install.php b/install.php index b94a92936..570b08edf 100644 --- a/install.php +++ b/install.php @@ -72,6 +72,12 @@ function checkPrereqs() <? $pass = false; } + if (!is_writable(INSTALLDIR.'/background/')) { + ?><p class="error">Cannot write background directory: <code><?php echo INSTALLDIR; ?>/background/</code></p> + <p>On your server, try this command: <code>chmod a+w <?php echo INSTALLDIR; ?>/background/</code></p> + <? + $pass = false; + } return $pass; } |