fake settings

This commit is contained in:
Alexander M. Turek
2002-10-03 23:26:11 +00:00
parent 3788d16e04
commit 53df7ad4fa
2 changed files with 4 additions and 1 deletions

View File

@@ -14,6 +14,8 @@ $Source$
* tbl_dump.php3, libraries/build_dump.lib.php3: Completed fix against
bug #607896, thanks to Lo<4C>c.
* lang/english.inc.php3: Reordered strings.
* libraries/common.lib.php3: Added more fake settings in case of an
errornous config file.
2002-10-02 Alexander M. Turek <rabus@users.sourceforge.net>
* header.inc.php3, header_prinview.inc.php3: Corrected value for the

View File

@@ -85,7 +85,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
// Include failed
if (!isset($cfgServers) && !isset($cfg['Servers'])) {
// Creates fake settings
$cfg = array('DefaultLang' => 'en-iso-8859-1');
$cfg = array('DefaultLang' => 'en-iso-8859-1',
'AllowAnywhereRecoding' => FALSE);
// Loads the language file
include('./libraries/select_lang.lib.php3');
// Sends the Content-Type header