summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php
index 6f99947f9..0e5454d4e 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1063,6 +1063,7 @@ function html_minoredit(){
function html_debug(){
global $conf;
global $lang;
+ global $auth;
//remove sensitive data
$cnf = $conf;
$cnf['auth']='***';
@@ -1107,6 +1108,12 @@ function html_debug(){
print $lang['encoding'];
print '</pre>';
+ if($auth){
+ print '<b>Auth backend capabilities:</b><pre>';
+ print_r($auth->cando);
+ print '</pre>';
+ }
+
print '<b>$_SESSION:</b><pre>';
print_r($_SESSION);
print '</pre>';