#9971: A call to protected method in index_ts.php
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 18 Dec 2008 13:24:41 +0000 (13:24 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 18 Dec 2008 13:24:41 +0000 (13:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4566 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/index_ts.php

index 27ab718..758d8db 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * Fixed bug #9944: Unneccessary wildcard string comparisons in EM (thanks to Marcus Krause)
        * Fixed bug #9947: gzip compression does not work in BE at all
+       * Fixed bug #9971: A call to protected method in index_ts.php
 
 2008-12-18  Thorsten Kahler  <thorsten.kahler@dkd.de>
 
index 7b914fb..8c8618f 100755 (executable)
@@ -168,7 +168,7 @@ $TSFE = new $temp_TSFEclassName(
 );
 
 if($TYPO3_CONF_VARS['FE']['pageUnavailable_force'] &&
-   !t3lib_div::cmpIP(t3lib_div::getIndpEnv('REMOTE_ADDR'), $TYPO3_CONF_VARS['SYS']['devIPmask'])) {
+       !t3lib_div::cmpIP(t3lib_div::getIndpEnv('REMOTE_ADDR'), $TYPO3_CONF_VARS['SYS']['devIPmask'])) {
        $TSFE->pageUnavailableAndExit('This page is temporarily unavailable.');
 }
 
@@ -187,7 +187,6 @@ if ($temp_previewConfig = $TSFE->ADMCMD_preview())  {
                t3lib_div::_GP('MP'),
                t3lib_div::_GP('RDCT')
        );
-       $TSFE->initCaches();
        $TSFE->ADMCMD_preview_postInit($temp_previewConfig);
 }