forked from featherbb/featherbb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.php
More file actions
29 lines (26 loc) · 726 Bytes
/
Copy patherror.php
File metadata and controls
29 lines (26 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Copyright (C) 2015-2016 FeatherBB
* based on code by (C) 2008-2015 FluxBB
* and Rickard Andersson (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
// Make sure no one attempts to run this script "directly"
if (!isset($feather)) {
exit;
}
Container::get('hooks')->fire('view.error.start');
?>
<div id="msg" class="block error">
<h2><span><?= __('Error') ?></span></h2>
<div class="box">
<div class="inbox">
<p><?= $msg ?></p>
<?php if ($backlink) {
echo "\t\t\t".'<p><a href="javascript: history.go(-1)">'.__('Go back').'</a></p>';
} ?>
</div>
</div>
</div>
<?php
Container::get('hooks')->fire('view.error.end');