Error page fix

This commit is contained in:
Fred Boniface 2022-09-21 10:42:49 +01:00
parent 1b145dfe47
commit 9a1abaeb39
4 changed files with 6 additions and 13 deletions

View File

@ -2,8 +2,7 @@
<html> <html>
<head> <head>
<?php <?php
set_include_path("./../"); include '../page-blocks/headers.php';
include './page-blocks/headers.php';
?> ?>
<title>Athena - Error 403</title> <title>Athena - Error 403</title>
</head> </head>
@ -11,7 +10,7 @@
<body> <body>
<!-- Main Content Begins --> <!-- Main Content Begins -->
<?php require "./page-blocks/title-image.php";?> <?php require "../page-blocks/title-image.php";?>
<h1>You're not allowed to see that!</h1> <h1>You're not allowed to see that!</h1>
@ -19,9 +18,6 @@
<h3>403 - Forbidden</h3> <h3>403 - Forbidden</h3>
<!-- Footer -->
<?php include './page-blocks/footer.php';?>
</body> </body>
</html> </html>

View File

@ -10,7 +10,7 @@
<body> <body>
<!-- Main Content Begins --> <!-- Main Content Begins -->
<?php include "./page-blocks/title-image.php";?> <?php include "../page-blocks/title-image.php";?>
<h1>Oh no! That page can't be found</h1> <h1>Oh no! That page can't be found</h1>

View File

@ -2,8 +2,7 @@
<html> <html>
<head> <head>
<?php <?php
set_include_path("./../"); include '../page-blocks/headers.php';
include './page-blocks/headers.php';
?> ?>
<title>Athena - Server Error</title> <title>Athena - Server Error</title>
</head> </head>
@ -11,7 +10,7 @@
<body> <body>
<!-- Main Content Begins --> <!-- Main Content Begins -->
<?php require "./page-blocks/title-image.php";?> <?php require "../page-blocks/title-image.php";?>
<h1>Ah, sorry. There's a problem at our end</h1> <h1>Ah, sorry. There's a problem at our end</h1>
@ -19,9 +18,6 @@
<h3>50x - Server Error</h3> <h3>50x - Server Error</h3>
<!-- Footer -->
<?php include './page-blocks/footer.php';?>
</body> </body>
</html> </html>

View File

@ -97,6 +97,7 @@ body {
.actionbutton { .actionbutton {
display: inline-block; display: inline-block;
text-decoration: none;
cursor: pointer; cursor: pointer;
background-color: #3c78d8; background-color: #3c78d8;
border: none; border: none;