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