Use global variable for phpinfo debugging info

This commit is contained in:
moodler 2003-05-17 03:10:22 +00:00
parent 7170501293
commit 07b586eaa3

View File

@ -2,8 +2,8 @@
// config.php - allows admin to edit all configuration variables // config.php - allows admin to edit all configuration variables
if (isset($phpinfo)) { // For debugging purposes, protected by password if (isset($_GET['phpinfo'])) { // For debugging purposes, protected by password
if (md5($phpinfo) == "caf9b6b99962bf5c2264824231d7a40c") { if (md5($_GET['phpinfo']) == "caf9b6b99962bf5c2264824231d7a40c") {
phpinfo(); phpinfo();
exit; exit;
} }