Project

General

Profile

Bug #21044 » 11937_v3.diff

Administrator Admin, 2009-11-17 19:57

View differences:

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
// *******************************
if (defined('E_DEPRECATED')) {
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
} else {
error_reporting(E_ALL ^ E_NOTICE);
}
error_reporting (E_ALL ^ E_NOTICE);
define('PATH_thisScript',str_replace('//','/', str_replace('\\','/', (PHP_SAPI=='cgi'||PHP_SAPI=='isapi' ||PHP_SAPI=='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=='cgi'||PHP_SAPI=='isapi' ||PHP_SAPI=='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_ajax.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);
}
// ***********************
(3-3/5)