Project

General

Profile

Bug #21609 » 0012661_4-2.patch

Administrator Admin, 2010-09-20 19:36

View differences:

t3lib/config_default.php (Arbeitskopie)
'systemLogLevel' => 0, // Integer: Only messages with same or higher severity are logged; 0 is info, 1 is notice, 2 is warning, 3 is error, 4 is fatal error.
'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' => 0, // Boolean: If true and [BE][forceCharset] 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 flock() function), "semaphore" (using PHPs sem_acquire() 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.
......
if (!@is_file(PATH_typo3conf.'localconf.php')) die('localconf.php is not found!');
require(PATH_typo3conf.'localconf.php');
// 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);
(3-3/6)