diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exe/detail.php | 4 | ||||
-rw-r--r-- | lib/plugins/acl/remote.php | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php index 7008b126f..7aae08f76 100644 --- a/lib/exe/detail.php +++ b/lib/exe/detail.php @@ -11,8 +11,8 @@ $ID = cleanID($INPUT->str('id')); $INFO = array_merge(pageinfo(),mediainfo()); trigger_event('DETAIL_STARTED', $tmp=array()); -//close session
-session_write_close();
+//close session +session_write_close(); if($conf['allowdebug'] && $INPUT->has('debug')){ print '<pre>'; diff --git a/lib/plugins/acl/remote.php b/lib/plugins/acl/remote.php index 8f6dfbcd9..6d5201cf6 100644 --- a/lib/plugins/acl/remote.php +++ b/lib/plugins/acl/remote.php @@ -16,14 +16,14 @@ class remote_plugin_acl extends DokuWiki_Remote_Plugin { ), ); } - + function addAcl($scope, $user, $level){ - $apa = plugin_load('admin', 'acl'); + $apa = plugin_load('admin', 'acl'); return $apa->_acl_add($scope, $user, $level); } - + function delAcl($scope, $user){ - $apa = plugin_load('admin', 'acl'); + $apa = plugin_load('admin', 'acl'); return $apa->_acl_del($scope, $user); } } |