Browse Source

Modified headers of error pages.

master
Teknikode 4 years ago
parent
commit
2f227a4865
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      errors/403.php
  2. 2
    2
      errors/404.php

+ 2
- 2
errors/403.php View File

@@ -1,5 +1,5 @@
<?php
http_response_code(403);
header('HTTP/1.1 403 Forbidden', true, 403);
?>
<div class="container">
<div class="row">
@@ -17,4 +17,4 @@ http_response_code(403);
</div>
</div>
</div>
</div>
</div>

+ 2
- 2
errors/404.php View File

@@ -1,5 +1,5 @@
<?php
http_response_code(404);
header('HTTP/1.1 404 Not Found', true, 404);
?>
<div class="container">
<div class="row">
@@ -17,4 +17,4 @@ http_response_code(404);
</div>
</div>
</div>
</div>
</div>

Loading…
Cancel
Save