MDL-50415 Admin: added the PHP Variables section in the PHPinfo page.

This commit is contained in:
Matteo Scaramuccia
2015-05-30 07:04:46 +02:00
parent 0c6faf4b51
commit 7b9f73ee10
+1 -1
View File
@@ -11,7 +11,7 @@
echo '<div class="phpinfo">';
ob_start();
phpinfo(INFO_GENERAL + INFO_CONFIGURATION + INFO_MODULES);
phpinfo(INFO_GENERAL + INFO_CONFIGURATION + INFO_MODULES + INFO_VARIABLES);
$html = ob_get_contents();
ob_end_clean();