Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pages/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down