Fixed bug #9511: getHtmlTemplate should use resolveBackPath. Fixes bug for extension...
[Packages/TYPO3.CMS.git] / typo3 / template.php
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)) : '');
        }
 
        /**