diff options
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 863bb3c49..fdf5d17f3 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -29,7 +29,11 @@ if($conf['useacl']){ auth_login($_REQUEST['u'],$_REQUEST['p'],$_REQUEST['r']); //load ACL into a global array - $AUTH_ACL = file(DOKU_INC.'conf/acl.auth.php'); + if(is_readable(DOKU_INC.'conf/acl.auth.php')){ + $AUTH_ACL = file(DOKU_INC.'conf/acl.auth.php'); + }else{ + $AUTH_ACL = array(); + } } /** |