forked from GNUsocial/gnu-social
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
This commit is contained in:
commit
4405648afb
@ -72,6 +72,12 @@ function checkPrereqs()
|
|||||||
<?
|
<?
|
||||||
$pass = false;
|
$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;
|
return $pass;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user