Verify conf/ directory is writable in the do=check action
This commit is contained in:
parent
f11b7d1baa
commit
4c7ecf15c9
1 changed files with 6 additions and 0 deletions
|
@ -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'])){
|
||||
|
|
Loading…
Reference in a new issue