Workaround for issue #10
ACL function shouldn't do anything when user is not authentified (was previously triggering ACL update message)
This commit is contained in:
parent
27c15b5d5c
commit
0e53545242
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue