config.inc.php3,main.php3,phpinfo.php3: fixed bug #479303
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-11-08 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* config.inc.php3,main.php3,phpinfo.php3: fixed bug #479303
|
||||
- $cfgShowPHPInfo added, false by default
|
||||
|
||||
2001-11-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_select.php3, lang/some files: modify $strLimitNumRows
|
||||
* user_details.php3, lang/some files: modify $strRevokeGrantMessage
|
||||
|
@@ -94,18 +94,18 @@ unset($cfgServers[0]);
|
||||
/**
|
||||
* Other core phpMyAdmin settings
|
||||
*/
|
||||
$cfgOBGzip = TRUE; // use GZIP output buffering if possible
|
||||
$cfgOBGzip = TRUE; // use GZIP output buffering if possible
|
||||
$cfgPersistentConnections = FALSE; // use persistent connections to MySQL database
|
||||
$cfgSkipLockedTables = FALSE; // mark used tables, make possible to show
|
||||
// locked tables (since MySQL 3.23.30)
|
||||
$cfgShowSQL = TRUE; // show SQL queries as run
|
||||
$cfgAllowUserDropDatabase = FALSE; // show a 'Drop database' link to normal users
|
||||
$cfgConfirm = TRUE; // confirm 'DROP TABLE' & 'DROP DATABASE'
|
||||
|
||||
$cfgShowStats = TRUE; // allow to display statistics and space usage in
|
||||
// the pages about database details and table
|
||||
// properties
|
||||
$cfgShowTooltip = TRUE; // display table comment as tooltip in left frame
|
||||
$cfgShowPHPInfo = FALSE; // disable access to the phpinfo() call
|
||||
|
||||
// In browse mode...
|
||||
$cfgShowBlob = FALSE; // display blob field contents
|
||||
|
@@ -399,6 +399,10 @@ echo "\n";
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
|
||||
if($cfgShowPHPInfo)
|
||||
{ ?>
|
||||
<!-- PHP Information -->
|
||||
<tr>
|
||||
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
|
||||
@@ -406,7 +410,9 @@ echo "\n";
|
||||
<a href="phpinfo.php3" target="_new"><?php echo $strShowPHPInfo; ?></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<!-- phpMyAdmin related urls -->
|
||||
<tr>
|
||||
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
|
||||
|
@@ -12,5 +12,6 @@ require('./libraries/common.lib.php3');
|
||||
/**
|
||||
* Displays PHP information
|
||||
*/
|
||||
phpinfo();
|
||||
if($cfgShowPHPInfo)
|
||||
phpinfo();
|
||||
?>
|
||||
|
Reference in New Issue
Block a user