summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-06-26 22:42:52 +1200
committerBrenda Wallace <shiny@cpan.org>2009-06-26 22:42:52 +1200
commit3a3614fc5523442b87b7625207d45095928f0087 (patch)
tree417eea87ebcb09544609f41daaa71d640920df3a
parentbb04f68e934b742b3468d3c7e6abc760684216b1 (diff)
also check for write permission to background folder
-rw-r--r--install.php6
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;
}