Skip to content

Commit

Permalink
Add check for installer.lock existing
Browse files Browse the repository at this point in the history
  • Loading branch information
1e4 committed Nov 21, 2019
1 parent c51accc commit 680b560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
Invalid username or password!<br />
<a href='login.php'>&gt; Back</a>");
}
if ($mem['userid'] == 1 && file_exists('./installer.php'))
if ($mem['userid'] == 1 && file_exists('./installer.php') && !file_exists('./installer.lock'))
{
die(
"<h3>Test MCCodes Error</h3>
Expand Down

0 comments on commit 680b560

Please sign in to comment.