diff --git a/action.php b/action.php index b7551c4..52d2cc1 100644 --- a/action.php +++ b/action.php @@ -139,8 +139,9 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{ function acl(&$event, $param) { global $conf; - - if ((!$this->getConf('no_acl')) && ($conf['useacl'])) { + +// if ((!$this->getConf('no_acl')) && ($conf['useacl'])) { + if ((!$this->getConf('no_acl')) && ($conf['useacl']) && (isset($_SERVER['REMOTE_USER']))) { $existingLines = file(DOKU_CONF.'acl.auth.php'); $newLines = array(); // ACL