Fixed bug #10450: Typing error in simulateStaticDocuments to determine the current...
authorOliver Hader <oliver.hader@typo3.org>
Mon, 16 Feb 2009 14:24:47 +0000 (14:24 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 16 Feb 2009 14:24:47 +0000 (14:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5024 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/simulatestatic/class.tx_simulatestatic.php

index e2ecd93..06620ea 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-16  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #10450: Typing error in simulateStaticDocuments to determine the current mode
+
 2009-02-16  Steffen Kamper  <info@sk-typo3.de> 
 
        * Fixed Bug #9439: followUp - renamed TS mod.wizards.newContentElements to mod.wizards.newContentElement 
index bfeca6c..7f28cfc 100644 (file)
@@ -90,7 +90,7 @@ class tx_simulatestatic {
                // Force absRefPrefix to this value is PATH_INFO is used.
                $absRefPrefix = $TSconf['absRefPrefix'];
                $absRefPrefix = trim($absRefPrefix);
-               if ((!strcmp($mode['conf'], 'PATH_INFO') || $parentObject->absRefPrefix_force) && !$absRefPrefix) {
+               if ((!strcmp($this->conf['mode'], 'PATH_INFO') || $parentObject->absRefPrefix_force) && !$absRefPrefix) {
                        $absRefPrefix = t3lib_div::dirname(t3lib_div::getIndpEnv('SCRIPT_NAME')) . '/';
                }
                $parentObject->absRefPrefix = $absRefPrefix;