Skip to content
Snippets Groups Projects
Commit e89b7c1e authored by Christopher Smith's avatar Christopher Smith
Browse files

Add Apache module list to ?do=debug information

This should make it possible to see if mod_security is involved,
at least on servers running mod_php.
parent 4f1a1db1
No related branches found
No related tags found
No related merge requests found
......@@ -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>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment