Backwards compatibility, remerged changes after RC3

This commit is contained in:
Alexander M. Turek
2002-07-17 06:52:09 +00:00
parent 91bdb92806
commit aa8e7b70fa
5 changed files with 60 additions and 45 deletions

View File

@@ -12,7 +12,9 @@
/**
* 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);
}
/**
@@ -239,7 +241,9 @@ $cfg['DefaultCharset'] = 'iso-8859-1';
// Allow charset recoding of MySQL queries, must be also enabled in language
// file to make harder using other language files than unicode.
$cfg['AllowAnywhereRecoding'] = TRUE;
// Default value is FALSE to avoid problems on servers without the iconv
// extension and where dl() is not supported
$cfg['AllowAnywhereRecoding'] = FALSE;
// Force: always use this language - must be defined in
// libraries/select_lang.lib.php3
@@ -463,13 +467,6 @@ if ($cfg['UseSyntaxColoring']) {
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!
*/