diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:20:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:20:20 +0200 |
commit | d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36 (patch) | |
tree | e1a2ad265f9dc7fd9cd77beac672d70767917b8b /inc/html.php | |
parent | 95905cbe48caa3de7d6d809a8f0d0cffc9df4720 (diff) | |
parent | f73480e9843c2c7609d25f9bb340210e01ea5344 (diff) | |
download | rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.gz rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.bz2 |
Merge branch 'master' into extension_manager
* master: (33 commits)
translation update
translation update
translation update
translation update
translation update
changed style of `<file>` slightly to help tell it apart from `<code>`
translation update
translation update
translation update
translation update
translation update
translation update
translation update
removed now unused interwiki icons
removed old, possibly never used interwiki definitions
FS#2806 - fix auth capability listing in html_debug()
translation update
change 'debug' setting to 'security' (rather than 'danger')
convert from iso-8859-1 if not utf8
add 'danger' alert to authpgsql config settings
...
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 00b929c75..6ceb9407f 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1629,7 +1629,9 @@ function html_debug(){ if($auth){ print '<b>Auth backend capabilities:</b><pre>'; - print_r($auth->cando); + foreach ($auth->getCapabilities() as $cando){ + print ' '.str_pad($cando,16) . ' => ' . (int)$auth->canDo($cando) . NL; + } print '</pre>'; } |