Fixed bug #12080 (Follow-up to bug #11505): pageCacheToExternalFiles=1 breaks db...
authorRupert Germann <rupi@gmx.li>
Wed, 30 Sep 2009 10:18:24 +0000 (10:18 +0000)
committerRupert Germann <rupi@gmx.li>
Wed, 30 Sep 2009 10:18:24 +0000 (10:18 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6072 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index c452470..3bfe16c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-30  Rupert Germann  <rupi@gmx.li>
+
+       * Fixed bug #12080 (Follow-up to bug #11505): pageCacheToExternalFiles=1 breaks db-caching in 4.3
+
 2009-09-29  Francois Suter  <francois@typo3.org>
 
        * Fixed bug #12068: Scheduler: Improper skipping of running tasks in case multiple execution denied
index d4cd9a9..19ff854 100644 (file)
                        $cacheFileName = PATH_site.'typo3temp/cache_pages/'.$row['hash']{0}.$row['hash']{1}.'/'.$row['hash'].'.html';
                        switch((string)$type)   {
                                case 'get':
-                                       $row['content'] = @is_file($cacheFileName) ? t3lib_div::getUrl($cacheFileName) : '<!-- CACHING ERROR, sorry -->';
+                                       $row['HTML'] = @is_file($cacheFileName) ? t3lib_div::getUrl($cacheFileName) : '<!-- CACHING ERROR, sorry -->';
                                break;
                                case 'set':
-                                       t3lib_div::writeFileToTypo3tempDir($cacheFileName,$row['content']);
-                                       $row['content'] = '';
+                                       t3lib_div::writeFileToTypo3tempDir($cacheFileName, $row['HTML']);
+                                       $row['HTML'] = '';
                                break;
                        }
                }