no more support for php3

This commit is contained in:
Michal Čihař
2003-11-18 15:20:45 +00:00
parent 4edf711ada
commit 6884f9701a
250 changed files with 1145 additions and 1104 deletions

20
phpinfo.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* Gets core libraries and defines some variables
*/
require('./libraries/grab_globals.lib.php');
require('./libraries/common.lib.php');
/**
* Displays PHP information
*/
$is_superuser = @PMA_mysql_query('USE mysql', $userlink);
if ($is_superuser || $cfg['ShowPhpInfo']) {
phpinfo();
}
?>