diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-15 09:07:56 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-15 09:07:56 +0100 |
commit | c6d9f1e80eef25fbd528d58f43d23001d9202237 (patch) | |
tree | 58bc1ae39f67736cc66950f5eb16213711d2522b | |
parent | 4f1a1db1539e819e5c40ec14453c4c709810e1bd (diff) | |
parent | e89b7c1e9d73d3a7ae9916d048a7ea43f56d279a (diff) | |
download | rpg-c6d9f1e80eef25fbd528d58f43d23001d9202237.tar.gz rpg-c6d9f1e80eef25fbd528d58f43d23001d9202237.tar.bz2 |
Merge pull request #542 from splitbrain/debug_apache
Add Apache module list to ?do=debug information
-rw-r--r-- | inc/html.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php index 5941a9af2..928991ae2 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1634,6 +1634,17 @@ function html_debug(){ print_r($inis); print '</pre>'; + if (function_exists('apache_get_version')) { + $apache['version'] = apache_get_version(); + + if (function_exists('apache_get_modules')) { + $apache['modules'] = apache_get_modules(); + } + print '<b>Apache</b><pre>'; + print_r($apache); + print '</pre>'; + } + print '</body></html>'; } |