* initial commit
This commit is contained in:
9
templates/error/404.phtml
Normal file
9
templates/error/404.phtml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php $this->layout('layout::default', ['title' => '404 Not Found']) ?>
|
||||
|
||||
<h1>Oops!</h1>
|
||||
<h2>This is awkward.</h2>
|
||||
<p>We encountered a 404 Not Found error.</p>
|
||||
<p>
|
||||
You are looking for something that doesn't exist or may have moved. Check out one of the links on this page
|
||||
or head back to <a href="/">Home</a>.
|
||||
</p>
|
||||
11
templates/error/error.phtml
Normal file
11
templates/error/error.phtml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php $this->layout('layout::default', ['title' => sprintf('%d %s', $status, $reason)]) ?>
|
||||
|
||||
<h1>Oops!</h1>
|
||||
<h2>This is awkward.</h2>
|
||||
<p>We encountered a <?=$this->e($status)?> <?=$this->e($reason)?> error.</p>
|
||||
<?php if ($status == 404) : ?>
|
||||
<p>
|
||||
You are looking for something that doesn't exist or may have moved. Check out one of the links on this page
|
||||
or head back to <a href="/">Home</a>.
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user