noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/02: Fix bug with redirection


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/02: Fix bug with redirection
Date: Fri, 17 Jul 2015 11:13:44 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit aedddf3fce871e379af350c080dd0f63e944e3c1
Author: Dany De Bontridder <address@hidden>
Date:   Fri Jul 17 13:08:11 2015 +0200

    Fix bug with redirection
---
 html/index.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/html/index.php b/html/index.php
index 701b823..25ecc32 100644
--- a/html/index.php
+++ b/html/index.php
@@ -134,8 +134,7 @@
 
 if ( ! 
file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php'))
 {
-    $p_string='admin/setup.php';
-    echo '<HTML><head><META HTTP-EQUIV="REFRESH" 
content="0;url='.$p_string.'"></head><body> Connecting... </body></html>';
+    header("Location: admin/setup.php",true, 307);
     exit(0);
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]