Fixup of config detection in admin

This commit is contained in:
Vojtěch Sajdl 2018-01-20 23:01:59 +01:00
parent 7b1f290a88
commit 7f3c7cbd37
No known key found for this signature in database
GPG Key ID: 082BC82518E5F32E
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<?php
if (!file_exists("config.php"))
if (!file_exists("../config.php"))
{
require_once("../install.php");
header("Location: ../");
}
else{
require_once("../config.php");