Fixed bug: When there is no TypoScript template found the message "No template found...
authorIngo Renner <ingo.renner@typo3.org>
Wed, 3 Sep 2008 22:35:27 +0000 (22:35 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 3 Sep 2008 22:35:27 +0000 (22:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4060 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index 671bcb2..bc22c11 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
 
        * Added feature #9281: Add a method to easily do a HTTP redirect
        * Declared t3lib_div::readLLPHPfile() and t3lib_div::removeXSS() static
+       * Fixed bug: When there is no TypoScript template found the message "No template found!" is not obvious, does it mean a TS template or a HTML template?
 
 2008-09-02  Stanislas Rolland  <typo3@sjbr.ca>
 
index 1940151..fa01257 100755 (executable)
@@ -2073,9 +2073,9 @@ require_once (PATH_t3lib.'class.t3lib_lock.php');
                                $GLOBALS['TT']->pull();
                        } else {
                                if ($this->checkPageUnavailableHandler())       {
-                                       $this->pageUnavailableAndExit('No template found!');
+                                       $this->pageUnavailableAndExit('No TypoScript template found!');
                                } else {
-                                       $message = 'No template found!';
+                                       $message = 'No TypoScript template found!';
                                        header('HTTP/1.0 503 Service Temporarily Unavailable');
                                        t3lib_div::sysLog($message, 'cms', t3lib_div::SYSLOG_SEVERITY_ERROR);
                                        $this->printError($message);