Last active
August 29, 2015 14:09
-
-
Save htuscher/2acb908186671ab3c7f9 to your computer and use it in GitHub Desktop.
Disable L10n Cache in TYPO3 6.2 using config files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
if (!defined('TYPO3_MODE')) { | |
die('Access denied.'); | |
} | |
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['restrictfe']['enable'] = TRUE; | |
/** | |
* !!! IMPORTANT !!! | |
* | |
* To enable your local configuration add | |
* one or more files in conf.d as they are | |
* loaded automatically. | |
*/ | |
$configurationFiles = GeneralUtility::getFilesInDir(GeneralUtility::getFileAbsFileName('typo3conf/conf.d/'), 'php', TRUE); | |
foreach ($configurationFiles as $file) { | |
require_once($file); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Place this file in typo3conf/conf.d/ and make the folder conf.d be ignored by git | |
*/ | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['l10n']['backend'] = '\\TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment