Merge pull request #25 from e-picas/use-defined-acl-configfile
Fix ACL file location
This commit is contained in:
commit
fffefb761b
|
@ -174,7 +174,8 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{
|
|||
|
||||
if ($this->multiNsOk()) {
|
||||
if ((!$this->getConf('no_acl')) && ($conf['useacl']) && ($this->userOk())) {
|
||||
$existingLines = file(DOKU_CONF.'acl.auth.php');
|
||||
global $config_cascade;
|
||||
$existingLines = file($config_cascade['acl']['default']);
|
||||
$newLines = array();
|
||||
// ACL
|
||||
$acl = new admin_plugin_acl();
|
||||
|
|
Loading…
Reference in a new issue