Index: branches/5.2.x/core/kernel/utility/logger.php
===================================================================
diff -u -N -r16714 -r16715
--- branches/5.2.x/core/kernel/utility/logger.php (.../logger.php) (revision 16714)
+++ branches/5.2.x/core/kernel/utility/logger.php (.../logger.php) (revision 16715)
@@ -1,6 +1,6 @@
Application->isDebugMode() ) {
+ $date = date('Y-m-d H:i:s');
+ $reference = $this->_logRecord['LogUniqueId'] . '-' . time();
+
+ $message = <<Oops, something went wrong
+This is page is currently not available.
+We are working on the problem, and appreciate your patience.
+
+Date: {$date}
+Reference: {$reference}
+HTML;
+
+ return $message;
+ }
+
if ( !isset($errno) ) {
$errno = $this->_logRecord['LogCode'];
}
@@ -1323,7 +1339,7 @@
exit(1);
}
- echo '