Gestion des diffrentes section de phpinfo pour amliorer la lecture des infos

This commit is contained in:
Rodolphe Quiedeville 2003-03-11 14:20:02 +00:00
parent 1c7ed1df13
commit c9ea47dad3

View File

@ -19,5 +19,25 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
phpinfo();
require("./pre.inc.php");
llxHeader();
if ($what == 'conf')
{
phpinfo(INFO_CONFIGURATION);
}
elseif ($what == 'env')
{
phpinfo(INFO_ENVIRONMENT);
}
elseif ($what == 'modules')
{
phpinfo(INFO_MODULES);
}
else
{
phpinfo();
}
llxfooter();
?>