Fixed bug #9511: getHtmlTemplate should use resolveBackPath. Fixes bug for extension...
authorErnesto Baschny <ernst@cron-it.de>
Thu, 18 Dec 2008 08:41:15 +0000 (08:41 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Thu, 18 Dec 2008 08:41:15 +0000 (08:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4559 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/template.php

index 52ec6fe..849bc67 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-18  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fixed bug #9511: getHtmlTemplate should use resolveBackPath. Fixes bug for extension BE modules using templates in certain environments (symlinked typo3/ dir) (thanks to Steffen Gebert)
+
 2008-12-17  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #9596: htmlArea RTE does not work in IRRE subelements
index 63e5871..d3ae399 100755 (executable)
@@ -1850,7 +1850,7 @@ $str.=$this->docBodyTagBegin().
                if ($GLOBALS['TBE_STYLES']['htmlTemplates'][$filename]) {
                        $filename = $GLOBALS['TBE_STYLES']['htmlTemplates'][$filename];
                }
-               return ($filename ? t3lib_div::getURL($this->backPath . $filename) : '');
+               return ($filename ? t3lib_div::getURL(t3lib_div::resolveBackPath($this->backPath . $filename)) : '');
        }
 
        /**