Fix: register_globals=off

This commit is contained in:
Laurent Destailleur 2004-08-20 23:18:32 +00:00
parent dcd22f962e
commit 99ef7176fd

View File

@ -30,15 +30,15 @@ llxHeader();
ob_start(); ob_start();
if ($what == 'conf') if ($_GET["what"] == 'conf')
{ {
phpinfo(INFO_CONFIGURATION); phpinfo(INFO_CONFIGURATION);
} }
elseif ($what == 'env') elseif ($_GET["what"] == 'env')
{ {
phpinfo(INFO_ENVIRONMENT); phpinfo(INFO_ENVIRONMENT);
} }
elseif ($what == 'modules') elseif ($_GET["what"] == 'modules')
{ {
phpinfo(INFO_MODULES); phpinfo(INFO_MODULES);
} }