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