This commit is contained in:
Alexander M. Turek
2002-07-14 20:43:45 +00:00
parent d40d811889
commit dfbd5ddb37
3 changed files with 11 additions and 10 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-07-14 Alexander M. Turek <rabus@users.sourceforge.net>
* config.inc.php3, libraries/common.lib.php3: Fixed bug #576018.
2002-07-14 Marc Delisle <lem9@users.sourceforge.net> 2002-07-14 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html, db_details_exports.php3, tbl_properties_export.php3: * Documentation.html, db_details_exports.php3, tbl_properties_export.php3:
add a link to a new faq entry explaining some dump options add a link to a new faq entry explaining some dump options

View File

@@ -12,7 +12,9 @@
/** /**
* Sets the php error reporting - Please do not change this line! * Sets the php error reporting - Please do not change this line!
*/ */
$old_error_rep = error_reporting(E_ALL); if (!isset($old_error_reporting)) {
error_reporting(E_ALL);
}
/** /**
@@ -458,13 +460,6 @@ if ($cfg['UseSyntaxColoring']) {
set_magic_quotes_runtime(0); set_magic_quotes_runtime(0);
/**
* Restore old error_reporting mode - do not change either!
*/
error_reporting($old_error_rep);
unset($old_error_rep);
/** /**
* File Revision - do not change either! * File Revision - do not change either!
*/ */

View File

@@ -71,7 +71,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
* Parses the configuration file and gets some constants used to define * Parses the configuration file and gets some constants used to define
* versions of phpMyAdmin/php/mysql... * versions of phpMyAdmin/php/mysql...
*/ */
if (!@include('./config.inc.php3')) { $old_error_reporting = error_reporting(0);
if (!include('./config.inc.php3')) {
// Creates fake settings // Creates fake settings
$cfg = array('DefaultLang' => 'en'); $cfg = array('DefaultLang' => 'en');
// Loads the laguage file // Loads the laguage file
@@ -108,6 +109,8 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
<?php <?php
exit(); exit();
} }
error_reporting($old_error_reporting);
unset($old_error_reporting);
/** /**
* Reads in the developer edition config file. This is used exclusively during * Reads in the developer edition config file. This is used exclusively during
@@ -1408,7 +1411,7 @@ if (typeof(document.getElementById) != 'undefined'
$bgcolor = '#DFDFDF'; $bgcolor = '#DFDFDF';
} }
$db_details_links_count_tabs++; $db_details_links_count_tabs++;
if (!empty($attr)) { if (!empty($attr)) {
$attr = ' ' . $attr; $attr = ' ' . $attr;
} }