Verify conf/ directory is writable in the do=check action

This commit is contained in:
Guy Brand 2011-11-05 21:53:56 +01:00
parent f11b7d1baa
commit 4c7ecf15c9

View file

@ -175,6 +175,12 @@ function check(){
msg('Lockdir is not writable',-1);
}
if(is_writable(DOKU_CONF)){
msg('conf directory is writable',1);
}else{
msg('conf directory is not writable',-1);
}
if($conf['authtype'] == 'plain'){
global $config_cascade;
if(is_writable($config_cascade['plainauth.users']['default'])){