Created
July 10, 2015 08:15
-
-
Save josefglatz/e01ccfc2d022736414a8 to your computer and use it in GitHub Desktop.
TYPO3 6.2 RealUrl Autoconf Hook Example disable RealUrl Caches
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 | |
| namespace O10\Theme\Configuration; | |
| /** | |
| * $DESCRIPTION$ | |
| * | |
| * @author Josef Glatz <[email protected]> | |
| * @package $PACKAGE$ | |
| * @subpackage $SUBPACKAGE$ | |
| */ | |
| class Realurl { | |
| public function autoconf($params, \tx_realurl_autoconfgen &$pObj) { | |
| $customChanges = array( | |
| 'init' => array( | |
| 'enableCHashCache' => 0, | |
| 'enableUrlDecodeCache' => 0, | |
| 'enableUrlEncodeCache' => 0 | |
| ), | |
| 'pagePath' => array( | |
| 'disablePathCache' => TRUE, | |
| ) | |
| ); | |
| return array_replace_recursive($params['config'], $customChanges); | |
| } | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment