fix: new install version + old installed version redirected to install

Because the check changed to see if /var/installed is present (and it
would never be in the version previously installed), this caused some
pages to redirect to /install.
This commit is contained in:
Martin Ambrus
2017-10-28 09:32:54 +02:00
parent eca2c9105c
commit d9f4d044c6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
## ##
#################################################################################
if(!file_exists('var/installed')) {
if(!file_exists('var/installed') && @opendir('install')) {
header("Location: install/");
exit;
}