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 */