2018-01-03 17:28:08 +01:00
|
|
|
<?php
|
2020-01-15 02:50:23 +01:00
|
|
|
require_once (__DIR__ . '/../internals/website.php');
|
2018-01-03 17:28:08 +01:00
|
|
|
|
2020-01-15 02:50:23 +01:00
|
|
|
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
|
|
|
|
/** @var URLRoute $ROUTE */ global $ROUTE;
|
|
|
|
/** @var Website $SITE */ global $SITE;
|
2018-01-03 17:28:08 +01:00
|
|
|
?>
|
|
|
|
|
2020-01-15 02:50:23 +01:00
|
|
|
<?php
|
2020-01-16 10:56:12 +01:00
|
|
|
$FRAME_OPTIONS->title = 'Error';
|
2020-01-20 18:09:35 +01:00
|
|
|
$FRAME_OPTIONS->statuscode = 404;
|
2020-01-15 02:50:23 +01:00
|
|
|
$FRAME_OPTIONS->canonical_url = null;
|
|
|
|
$FRAME_OPTIONS->activeHeader = null;
|
|
|
|
$FRAME_OPTIONS->contentCSSClasses []= 'content-fullheight';
|
2018-01-03 17:28:08 +01:00
|
|
|
|
2020-01-15 02:50:23 +01:00
|
|
|
$message = $ROUTE->parameter['message'];
|
|
|
|
$debuginfo = $ROUTE->parameter['debuginfo'];
|
|
|
|
?>
|
2018-01-03 17:28:08 +01:00
|
|
|
|
|
|
|
|
2020-01-15 02:50:23 +01:00
|
|
|
<div class="ev_master">
|
|
|
|
<div class="ev_code">500</div>
|
2020-01-16 10:50:18 +01:00
|
|
|
<div class="ev_msg"><?php echo $message; ?></div>
|
2020-01-15 02:50:23 +01:00
|
|
|
<?php if ($debuginfo !== null && strlen($debuginfo)>0 && ($SITE != null && !$SITE->isProd())): ?>
|
|
|
|
<p class="ev_statusmore"><?php echo nl2br($debuginfo); ?></p>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|