- respect only $GLOBALS['cfg']['ShowPhpInfo']
- minimum include
This commit is contained in:
@@ -7,6 +7,9 @@ $Source$
|
|||||||
|
|
||||||
2005-11-20 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-11-20 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* added test/theme.php: for testing themes
|
* added test/theme.php: for testing themes
|
||||||
|
* phpinfo.php:
|
||||||
|
- respect only $GLOBALS['cfg']['ShowPhpInfo']
|
||||||
|
- minimum include
|
||||||
|
|
||||||
2005-11-21 Michal Čihař <michal@cihar.com>
|
2005-11-21 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/import/sql.php: Fix query splitting in some cases (reported by
|
* libraries/import/sql.php: Fix query splitting in some cases (reported by
|
||||||
|
@@ -6,14 +6,14 @@
|
|||||||
/**
|
/**
|
||||||
* Gets core libraries and defines some variables
|
* Gets core libraries and defines some variables
|
||||||
*/
|
*/
|
||||||
|
define( 'PMA_MINIMUM_COMMON', true );
|
||||||
require_once('./libraries/common.lib.php');
|
require_once('./libraries/common.lib.php');
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays PHP information
|
* Displays PHP information
|
||||||
*/
|
*/
|
||||||
$is_superuser = @PMA_DBI_try_query('USE mysql', $userlink);
|
if ( $GLOBALS['cfg']['ShowPhpInfo'] ) {
|
||||||
if ($is_superuser || $cfg['ShowPhpInfo']) {
|
|
||||||
phpinfo();
|
phpinfo();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user