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

This commit is contained in:
Matteo Scaramuccia
2015-06-03 21:23:46 +02:00
committed by Matteo Scaramuccia
parent 14d2791057
commit fd4ae15898
+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();