forked from GNUsocial/gnu-social
also check for write permission to background folder
This commit is contained in:
parent
bb04f68e93
commit
3a3614fc55
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user