summaryrefslogtreecommitdiff
path: root/framework/Exceptions/TErrorHandler.php
diff options
context:
space:
mode:
authorwei <>2005-12-10 11:46:10 +0000
committerwei <>2005-12-10 11:46:10 +0000
commit25f9c45261aafd65477ad526e0b6ad3dca80803a (patch)
tree0ca939f661000b16e51db04aa25dd225fb3a74f3 /framework/Exceptions/TErrorHandler.php
parenta7659660330dd097e66e012f3325bd9d5e9db56a (diff)
Update exception templates to be XHTML 1.0 transitional compliant.
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-rw-r--r--framework/Exceptions/TErrorHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index ebdaf41c..87d5d342 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -178,7 +178,7 @@ class TErrorHandler extends TModule
'%%ErrorMessage%%' => htmlspecialchars($exception->getMessage()),
'%%ServerAdmin%%' => $serverAdmin,
'%%Version%%' => $_SERVER['SERVER_SOFTWARE'].' <a href="http://www.pradosoft.com/">PRADO</a>/'.Prado::getVersion(),
- '%%Time%%' => strftime('%Y-%m-%d %H:%m',time())
+ '%%Time%%' => @strftime('%Y-%m-%d %H:%M',time())
);
echo strtr($content,$tokens);
}
@@ -240,7 +240,7 @@ class TErrorHandler extends TModule
'%%SourceCode%%' => $source,
'%%StackTrace%%' => htmlspecialchars($exception->getTraceAsString()),
'%%Version%%' => $_SERVER['SERVER_SOFTWARE'].' <a href="http://www.pradosoft.com/">PRADO</a>/'.Prado::getVersion(),
- '%%Time%%' => strftime('%Y-%m-%d %H:%m',time())
+ '%%Time%%' => @strftime('%Y-%m-%d %H:%M',time())
);
$lang=Prado::getPreferredLanguage();
$exceptionFile=Prado::getFrameworkPath().'/Exceptions/templates/'.self::EXCEPTION_FILE_NAME.'-'.$lang.'.html';