Skip to content
This repository was archived by the owner on Sep 25, 2022. It is now read-only.

Commit 73991a5

Browse files
author
flx5
committed
Force users to delete the install folder
1 parent f794ed4 commit 73991a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

global.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252

5353
header('Content-Type: text/html');
5454

55-
if (is_dir(CWD . "installer") && file_exists(CWD . "inc/config.php")) {
56-
#die("ERROR: YOU HAVE TO REMOVE THE installer folder BEFORE YOU WILL BE ABLE TO USE THIS!");
55+
if (is_dir(CWD . "installer") && file_exists(CWD . "inc/config.php") && !file_exists(CWD."dev.txt")) {
56+
die("ERROR: YOU HAVE TO REMOVE THE installer folder BEFORE YOU WILL BE ABLE TO USE THIS!");
5757
}
5858

5959
if (!file_exists(CWD . "inc/config.php") && !is_dir(CWD . "installer")) {

0 commit comments

Comments
 (0)