From 24b3fe490b7e729a2abc5870d210f7fbdef7898b Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 4 Jun 2016 23:45:32 +0200 Subject: [PATCH 1/4] 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"); From 6109d9513ecc704642ee9372afc2c9c2d016de33 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 6 Jun 2016 11:11:09 +0200 Subject: [PATCH 2/4] fix languages links --- html/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/html/index.php b/html/index.php index 8342d2b..92477b8 100644 --- a/html/index.php +++ b/html/index.php @@ -245,7 +245,12 @@ if (isset($_POST['xd_check'])){

- + fr en'; + }else{ + echo ''; + }