Project

General

Profile

Bug #21609 » 0012661_trunk.patch

Administrator Admin, 2010-09-20 19:36

View differences:

t3lib/config_default.php (Arbeitskopie)
'enableDeprecationLog' => 'file', // Commalist: Enables the logging of deprecated methods and functions. Default is 'file'. The following options are allowed: 'file': The log file will be written to typo3conf/deprecation_[hash-value].log 'devlog': The log will be written to the development log 'console': The log will be displayed in the Backend's Debug Console. The logging options can be combined by comma-separating them.
'maxFileNameLength' => 60, // Integer: This is the maximum file name length. The value will be taken into account by basic file operations like renaming or creation of files and folders.
'UTF8filesystem' => FALSE, // Boolean: If true and <a href="#BE-forceCharset">[BE][forceCharset]</a> is set to utf-8, then TYPO3 uses utf-8 to store file names. This allows for accented Latin letters as well as any other non-latin characters like Cyrillic and Chinese.
'UTF8characterLocale' => '', // String: Default character locale (LC_CTYPE) setting for UTF-8 (e.g. "en_US@utf-8"). This is handy in combination with enabling UTF8filesystem support on servers that have a non-UTF-8 locale.
'lockingMode' => 'simple', // String: Define which locking mode is used to control requests to pages being generated. Can be one of either "disable" (no locking), "simple" (checks for file existance), "flock" (using PHPs <a href="http://php.net/flock" target="_blank">flock()</a> function), "semaphore" (using PHPs <a href="http://php.net/sem-acquire" target="_blank">sem_acquire()</a> function). Default is "disable".
'reverseProxyIP' => '', // String: list of IP addresses. If TYPO3 is behind one or more (intransparent) reverese proxies the IP addresses must be added here.
'reverseProxyHeaderMultiValue' => 'none', // String: "none","first","last": defines which values of a proxy header (eg HTTP_X_FORWARDED_FOR) to use, if more than one is found. "none" discards the value, "first" and "last" use the first/last of the values in the list.
......
// sets the default to avoid E_WARNINGs under PHP 5.3
date_default_timezone_set($timeZone);
// Define UTF-8 character locale:
if ($TYPO3_CONF_VARS['SYS']['UTF8characterLocale']) {
setlocale(LC_CTYPE, $TYPO3_CONF_VARS['SYS']['UTF8characterLocale']);
}
// Defining the database setup as constants
define('TYPO3_db', $typo_db);
define('TYPO3_db_username', $typo_db_username);
(5-5/6)