Browse Source

Modified Error Pages

pull/24/head
Teknikode 6 years ago
parent
commit
ed1be2dd6a
2 changed files with 11 additions and 0 deletions
  1. 3
    0
      errors/403.php
  2. 8
    0
      errors/404.php

+ 3
- 0
errors/403.php View File

@@ -1,3 +1,6 @@
<?php
http_response_code(403);
?>
<div class="container">
<div class="row">
<div class="col-md-12">

+ 8
- 0
errors/404.php View File

@@ -1,3 +1,6 @@
<?php
http_response_code(404);
?>
<div class="container">
<div class="row">
<div class="col-md-12">
@@ -6,6 +9,11 @@
<h2>404 Not Found</h2>
<div class="error-details">
Sorry, an error has occured, Requested page not found!
<br />
<br />
Here is the url you tried to execute.
<br />
<code><?php echo $_SERVER['HTTP_REFERER']; ?></code>
</div>
<div class="error-actions">
<a href="<?php echo get_page_url("home", $CONF); ?>" class="btn btn-primary btn-lg"><span class="glyphicon glyphicon-home"></span>

Loading…
Cancel
Save