From 9589ddad1a18e33e2578f694fae4594d4771737c Mon Sep 17 00:00:00 2001 From: daddysboy2001 Date: Sat, 6 Feb 2016 13:38:20 -0500 Subject: [PATCH] Hopefully fixed the install redirect issue. --- pages/admin/index.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/admin/index.php b/pages/admin/index.php index ec422c7..aaf2232 100644 --- a/pages/admin/index.php +++ b/pages/admin/index.php @@ -12,11 +12,27 @@ $page = "admin-index"; // Install file check +/* + Old install file check clearstatcache(); if(file_exists("pages/install.php")){ unlink("pages/install.php"); +}*/ +if(isset($_GET['from'])){ + $from = $_GET['from']; + if($from == "install"){ + //Removes the install.php if is sent from install.php + //TDL: + // Add more checks + if(file_exists("pages/install.php")){ + unlink("pages/install.php"); + } + + } + } + /* * Version check */