Bugfix: defaultTemplateFile was not taken from domain config even it was set
authorchristian.futterlieb <christian.futterlieb@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 16 Feb 2011 15:30:35 +0000 (15:30 +0000)
committerchristian.futterlieb <christian.futterlieb@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 16 Feb 2011 15:30:35 +0000 (15:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pagenotfoundehandling/trunk@43704 735d13b6-9817-0410-8766-e36946ffe9aa

class.tx_pagenotfoundhandling.php

index e83616e..ff43714 100644 (file)
@@ -398,8 +398,8 @@ class tx_pagenotfoundhandling
 
                        }
        }
-       if($html === null && isset($this->_conf['defaultTemplateFile']) && !empty($this->_conf['defaultTemplateFile'])) {
-                       $file = t3lib_div::getFileAbsFileName($this->_conf['defaultTemplateFile']);
+       if($html === null && !empty($this->_defaultTemplateFile)) {
+                       $file = t3lib_div::getFileAbsFileName($this->_defaultTemplateFile);
 
                        if(!empty($file) && is_readable($file)) {
                                $html = file_get_contents($file);