Use functions (not global variables) for protocol and base_url
This commit is contained in:
		| @@ -7,8 +7,8 @@ include("../header_top.php"); | ||||
|  | ||||
| <div> | ||||
| 	<h2 class="center">Error 404 - Page Not Found</h2> | ||||
| 	<p>Oops, the page you are looking for does not exist. You may use your browser's back button to return to the page from which you came, or visit the <a href="<?php echo $base_url; ?>">homepage</a>.</p> | ||||
| 	<p>If you believe you are seeing this page in error, or are searching for a page which no longer exists (but may still be linked to by other sites), please <a href="<?php echo $protocol; ?>aclindsay.com/contact/">contact me</a>. I will do my best to point you in the right direction.</p> | ||||
| 	<p>Oops, the page you are looking for does not exist. You may use your browser's back button to return to the page from which you came, or visit the <a href="<?php echo get_base_url(); ?>">homepage</a>.</p> | ||||
| 	<p>If you believe you are seeing this page in error, or are searching for a page which no longer exists (but may still be linked to by other sites), please <a href="<?php echo get_protocol(); ?>aclindsay.com/contact/">contact me</a>. I will do my best to point you in the right direction.</p> | ||||
| </div> | ||||
|  | ||||
| <?php include("../footer.php"); ?> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user