Fixed bug #15389: [Caching framework] Hardcoded frontends of core caches
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 10 Aug 2010 15:21:48 +0000 (15:21 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 10 Aug 2010 15:21:48 +0000 (15:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8557 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_cache.php
t3lib/config_default.php

index e641df6..9ef1810 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-08-10  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #15389: [Caching framework] Hardcoded frontends of core caches
        * Fixed bug #15388: [Caching framework] Remove default settings for cache configuration
        * Fixed bug #15180: [Unit tests] t3lib_iconWorks and t3lib_SpriteManager (Thanks to Fabien Udriot)
        * Follow-up to feature #15141: Add tests to t3lib_db to test storing of binary data (Thanks to Steffen Kamper)
index 7cce4d0..bf9902c 100644 (file)
@@ -61,7 +61,7 @@ class t3lib_cache {
                try {
                        $GLOBALS['typo3CacheFactory']->create(
                                'cache_pages',
-                               't3lib_cache_frontend_VariableFrontend',
+                               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['frontend'],
                                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'],
                                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['options']
                        );
@@ -80,7 +80,7 @@ class t3lib_cache {
                try {
                        $GLOBALS['typo3CacheFactory']->create(
                                'cache_pagesection',
-                               't3lib_cache_frontend_VariableFrontend',
+                               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['frontend'],
                                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['backend'],
                                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['options']
                        );
@@ -99,7 +99,7 @@ class t3lib_cache {
                try {
                        $GLOBALS['typo3CacheFactory']->create(
                                'cache_hash',
-                               't3lib_cache_frontend_VariableFrontend',
+                               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['frontend'],
                                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['backend'],
                                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['options']
                        );
index fd43ba2..83dbf6e 100644 (file)
@@ -123,6 +123,7 @@ $TYPO3_CONF_VARS = array(
                        ),
                        'cacheConfigurations' => array(
                                'cache_hash' => array(
+                                       'frontend' => 't3lib_cache_frontend_VariableFrontend',
                                        'backend' => 't3lib_cache_backend_DbBackend',
                                        'options' => array(
                                                'cacheTable' => 'cachingframework_cache_hash',
@@ -130,6 +131,7 @@ $TYPO3_CONF_VARS = array(
                                        )
                                ),
                                'cache_pages' => array(
+                                       'frontend' => 't3lib_cache_frontend_VariableFrontend',
                                        'backend' => 't3lib_cache_backend_DbBackend',
                                        'options' => array(
                                                'cacheTable' => 'cachingframework_cache_pages',
@@ -137,6 +139,7 @@ $TYPO3_CONF_VARS = array(
                                        )
                                ),
                                'cache_pagesection' => array(
+                                       'frontend' => 't3lib_cache_frontend_VariableFrontend',
                                        'backend' => 't3lib_cache_backend_DbBackend',
                                        'options' => array(
                                                'cacheTable' => 'cachingframework_cache_pagesection',