Some minor fixes
authorAlexander Ebert <ebert@woltlab.com>
Thu, 25 Feb 2016 21:40:42 +0000 (22:40 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 25 Feb 2016 21:40:42 +0000 (22:40 +0100)
wcfsetup/install/files/lib/core.functions.php

index 275316d3240c8b4ce8d30efde4d7e40c03763d1a..b46c6e0c7a06dd2bb53c2acfb26359552fb4ca1e 100644 (file)
@@ -97,7 +97,7 @@ namespace wcf\functions\exception {
 
        function printThrowable($e) {
                $logFile = WCF_DIR . 'log/' . gmdate('Y-m-d', TIME_NOW) . '.txt';
-               $exceptionID = logThrowable($logFile, $e); // TODO
+               $exceptionID = logThrowable($logFile, $e);
                
                $exceptionTitle = $exceptionSubtitle = $exceptionExplanation = '';
                $logFile = sanitizePath($logFile);
@@ -116,7 +116,7 @@ namespace wcf\functions\exception {
                if (!$exceptionTitle || !$exceptionSubtitle || !$exceptionExplanation) {
                        // one or more failed, fallback to english
                        $exceptionTitle = 'An error has occured';
-                       $exceptionSubtitle = 'Internal error code: <span class="exceptionInlineCodeWrapper"><span class="exceptionInlineCode">{$exceptionID}</span></span>';
+                       $exceptionSubtitle = 'Internal error code: <span class="exceptionInlineCodeWrapper"><span class="exceptionInlineCode">'.$exceptionID.'</span></span>';
                        $exceptionExplanation = <<<EXPLANATION
 <p class="exceptionSubtitle">What happened?</p>
 <p class="exceptionText">An error has occured while trying to handle your request and execution has been terminated. Please forward the above error code to the site administrator.</p>