diff --git a/anmelden.php b/anmelden.php index 7f66ef28..3ec3ceac 100644 --- a/anmelden.php +++ b/anmelden.php @@ -10,6 +10,11 @@ ## ## ################################################################################# +if(!file_exists('var/installed')) { + header("Location: install/"); + exit; +} + include('GameEngine/Account.php'); $invited=(isset($_GET['uid'])) ? filter_var($_GET['uid'], FILTER_SANITIZE_NUMBER_INT):$form->getError('invt'); ?> diff --git a/index.php b/index.php index b04fb252..e552b596 100644 --- a/index.php +++ b/index.php @@ -18,8 +18,8 @@ ################################################################################# if(!file_exists('var/installed')) { -header("Location: install/"); -exit; + header("Location: install/"); + exit; } include ("GameEngine/config.php");