diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-06-26 22:42:52 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-06-26 22:42:52 +1200 |
commit | 3a3614fc5523442b87b7625207d45095928f0087 (patch) | |
tree | 417eea87ebcb09544609f41daaa71d640920df3a /install.php | |
parent | bb04f68e934b742b3468d3c7e6abc760684216b1 (diff) |
also check for write permission to background folder
Diffstat (limited to 'install.php')
-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; } |