Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

3D

INTERN

ADOBE

ARDUINO

BITBUCKET

DOCKER

C4D

GIT

HTML

IPHONE

JAVASCRIPT

JTL-SHOP

LARAVEL

MAGENTO2

MYSQL

PHP

PLESK

PROCESSING

PYTHON

SUITECRM

SEO

TRYTON

THUNDERBIRD / ICEDOVE / FossaMail

TYPO3

TYPO3: BACKEND

TYPO3: TYPOSCRIPT

UNIX

VLC

VVVV

WINDOWS

WINDOWS 10

WORDPRESS

XAMPP

XT:C 4 (Veyton)

typo3-additionalconfiguration-template

TYPO3 Template für AdditionalConfiguration.php

für TYPO3 6.x

<?php
 
$GLOBALS['TYPO3_CONF_VARS']['DB']['host'] = 'localhost';
$GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'MYLOCALDB';
$GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'MYMYSQLUSER';
$GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'MYMYSQLUSERPASS';
$GLOBALS['TYPO3_CONF_VARS']['GFX']['colorspace'] = 'sRGB';
 
// windows und imagemagick, pfade anpassen
//$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_version_5'] = 'im6';
//$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path'] = 'C:\\\\lib\\\\imagemagick6.8.7_x86/';
//$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path_lzw'] = 'C:\\\\lib\\\\imagemagick6.8.7_x86/';
 
 
//editieren von *.ts Dateien im Backend erlauben
$GLOBALS['TYPO3_CONF_VARS']['SYS']['textfile_ext'] = 'txt,html,htm,css,tmpl,js,sql,xml,csv,ts';
 
 
//manchmal unter Windows temporär erforderlich
//$GLOBALS['TYPO3_CONF_VARS']['BE']['loginSecurityLevel'] = 'normal';
//$GLOBALS['TYPO3_CONF_VARS']['FE']['loginSecurityLevel'] = 'normal';
 
$system = 2; //0 = develop, 1 = production, 2 = performance
if ($system === 0) {
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = '1';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask'] = '127.0.0.*';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandler'] = 't3lib_error_ErrorHandler';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = E_ALL ^ E_NOTICE;
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE ^ E_USER_WARNING;
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = 't3lib_error_DebugExceptionHandler';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = 't3lib_error_DebugExceptionHandler';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLog'] = 'error_log';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_DLOG'] = '1';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_errorDLOG'] = '1';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_exceptionDLOG'] = '1';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = 'console';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['sqlDebug'] = '1';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['extCache'] = '0';
}
elseif ($system === 1) {
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = '2';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask'] = '127.0.0.*';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandler'] = 't3lib_error_ErrorHandler';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] = '2';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLog'] = 'error_log,,2;syslog,LOCAL0,,3';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_DLOG'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_errorDLOG'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_exceptionDLOG'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = 0;
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = 0;
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = '';
}
elseif ($system === 2) {
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask'] = '';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandler'] = '';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = '';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = '';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLog'] = '';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_DLOG'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_errorDLOG'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_exceptionDLOG'] = '0';
  $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = '';
}
typo3-additionalconfiguration-template.txt · Zuletzt geändert: 2014/08/19 11:29 von admin