summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/infoutils.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index c9e553ba7..bc162d0e7 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -142,10 +142,12 @@ function check(){
msg('Lockdir is not writable',-1);
}
- if(is_writable(DOKU_CONF.'users.auth.php')){
- msg('conf/users.auth.php is writable',1);
- }else{
- msg('conf/users.auth.php is not writable',0);
+ if($conf['authtype'] == 'plain'){
+ if(is_writable(DOKU_CONF.'users.auth.php')){
+ msg('conf/users.auth.php is writable',1);
+ }else{
+ msg('conf/users.auth.php is not writable',0);
+ }
}
if(function_exists('mb_strpos')){