From 24b3fe490b7e729a2abc5870d210f7fbdef7898b Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 4 Jun 2016 23:45:32 +0200 Subject: [PATCH] 404 --- src/functions.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index 2745efb..8f4c669 100644 --- a/src/functions.php +++ b/src/functions.php @@ -106,7 +106,15 @@ function error($code,$message){ switch($code){ case 404: header("HTTP/1.0 404 Not Found"); - echo 'Page Not found

'.$message.'

'; + echo 'Page Not found

'.$message.'

+
+ _  _    ___  _  _   
+| || |  / _ \| || |  
+| || |_| | | | || |_ 
+|__   _| | | |__   _|
+   | | | |_| |  | |  
+   |_|  \___/   |_|  
+

Go to home page

'; die; case 400: header ("HTTP/1.0 400 Bad Request");