Bug #21044 » 11937_v3_42-branch.diff
ChangeLog (Arbeitskopie) | ||
---|---|---|
2009-11-17 Rupert Germann <rupi@gmx.li>
|
||
* Fixed bug #11937: Do not show PHP 5.3 E_DEPRECATED messages on productive systems
|
||
2009-11-16 Stanislas Rolland <typo3@sjbr.ca>
|
||
* Fixed bug #12622: htmlArea RTE: Incorrect behaviour of last item of list in gecko browsers
|
misc/phpcheck/incfile.php (Arbeitskopie) | ||
---|---|---|
SetCookie('test_script_cookie', 'Cookie Value!', 0, t3lib_div::getIndpEnv('TYPO3_SITE_PATH'));
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
define("TYPO3_OS", stristr(PHP_OS,"win")&&!stristr(PHP_OS,"darwin")?"WIN":"");
|
||
/*
|
t3lib/thumbs.php (Arbeitskopie) | ||
---|---|---|
// *******************************
|
||
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
t3lib/class.t3lib_superadmin.php (Arbeitskopie) | ||
---|---|---|
// *******************************
|
||
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
define('TYPO3_mainDir', 'typo3/'); // This is the directory of the backend administration for the sites of this TYPO3 installation.
|
index.php (Arbeitskopie) | ||
---|---|---|
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
// ******************
|
typo3/thumbs.php (Arbeitskopie) | ||
---|---|---|
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
define('PATH_thisScript',str_replace('//','/', str_replace('\\','/', (php_sapi_name()=='cgi'||php_sapi_name()=='isapi' ||php_sapi_name()=='cgi-fcgi')&&($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED'])? ($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED']):($_SERVER['ORIG_SCRIPT_FILENAME']?$_SERVER['ORIG_SCRIPT_FILENAME']:$_SERVER['SCRIPT_FILENAME']))));
|
||
define('PATH_site', substr(dirname(PATH_thisScript).'/',0,-strlen('typo3/'))); // Abs. path to directory with the frontend (one above the admin-dir)
|
||
define('PATH_t3lib', PATH_site.'t3lib/');
|
typo3/install/index.php (Arbeitskopie) | ||
---|---|---|
// Insert some security here, if you don't trust the Install Tool Password:
|
||
// **************************************************************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
$PATH_thisScript = str_replace('//','/', str_replace('\\','/', (php_sapi_name()=='cgi'||php_sapi_name()=='isapi' ||php_sapi_name()=='cgi-fcgi')&&($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED'])? ($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED']):($_SERVER['ORIG_SCRIPT_FILENAME']?$_SERVER['ORIG_SCRIPT_FILENAME']:$_SERVER['SCRIPT_FILENAME'])));
|
||
// Only allow Install Tool access if the file "typo3conf/ENABLE_INSTALL_TOOL" is found
|
typo3/init.php (Arbeitskopie) | ||
---|---|---|
// *******************************
|
||
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
// *******************************
|
||
// Prevent any unwanted output that may corrupt AJAX/compression. Note: this does
|
typo3/sysext/cms/tslib/showpic.php (Arbeitskopie) | ||
---|---|---|
// *******************************
|
||
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
// ***********************
|
typo3/sysext/cms/tslib/index_ts.php (Arbeitskopie) | ||
---|---|---|
// *******************************
|
||
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
// ******************
|
typo3/sysext/install/mod/class.tx_install_eid.php (Arbeitskopie) | ||
---|---|---|
// *******************************
|
||
// Set error reporting
|
||
// *******************************
|
||
error_reporting (E_ALL ^ E_NOTICE);
|
||
if (defined('E_DEPRECATED')) {
|
||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||
} else {
|
||
error_reporting(E_ALL ^ E_NOTICE);
|
||
}
|
||
// ***********************
|