Moved acl plugin called

This commit is contained in:
Simon DELAGE 2014-09-07 11:36:44 +02:00
parent 9847091c9d
commit 0bc23734bf
2 changed files with 3 additions and 3 deletions

View file

@ -56,9 +56,9 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{
// user:simon.txt
$this->public_page = cleanID($this->getConf('public_pages_ns').':'. $_SERVER['REMOTE_USER']);
// ACL
// For private namespace
$acl = new admin_plugin_acl();
if ($this->getConf('set_permissions')) {
// For private namespace
if (($this->getConf('create_private_ns')) && ($this->getConf('set_permissions'))) {
// If use_name_string is enabled, we can't use ACL wildcard
if ($this->getConf('use_name_string')) {
$ns = $this->private_ns.':*';

View file

@ -6,7 +6,7 @@
* @license: CC Attribution-Share Alike 3.0 Unported <http://creativecommons.org/licenses/by-sa/3.0/>
*/
$conf['create_private_ns'] = 1;
$conf['create_private_ns'] = 0;
$conf['use_name_string'] = 0;
$conf['use_start_page'] = 1;
$conf['users_namespace'] = 'private';