summaryrefslogtreecommitdiff
path: root/skin/error.skin.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-11 13:30:28 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-11 13:30:28 +0300
commit659b96f43c700c9c5099b12fe951babcc38a1f31 (patch)
treea5eaa43d33a17cbafc3ec55b34dbd7613b0778c3 /skin/error.skin.php
parente1ada2fe3910f37f17b5b68c3998e4d5ee3bf0d9 (diff)
RequestDispatcher: show handler-not-found message only in dev mode
Diffstat (limited to 'skin/error.skin.php')
-rw-r--r--skin/error.skin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/skin/error.skin.php b/skin/error.skin.php
index b0925d3..5276bfa 100644
--- a/skin/error.skin.php
+++ b/skin/error.skin.php
@@ -29,10 +29,10 @@ return <<<HTML
<head><title>$code $title</title></head>
<body>
<center><h1>$code $title</h1></center>
+ <hr>
{$ctx->if_true($message,
- '<hr><p align="center">'.$message.'</p>'
+ '<p align="center">'.$message.'</p>'
)}
-
</body>
</html>
HTML;