diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/infoutils.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php index ab9fe47ad..786661d01 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -176,7 +176,8 @@ function check(){ } if($conf['authtype'] == 'plain'){ - if(is_writable(DOKU_CONF.'users.auth.php')){ + global $config_cascade; + if(is_writable($config_cascade['plainauth.users']['default'])){ msg('conf/users.auth.php is writable',1); }else{ msg('conf/users.auth.php is not writable',0); |