diff --git a/anmelden.php b/anmelden.php index 6ef483b8..61408c99 100644 --- a/anmelden.php +++ b/anmelden.php @@ -10,7 +10,7 @@ ## ## ################################################################################# -if(!file_exists('var/installed')) { +if(!file_exists('var/installed') && @opendir('install')) { header("Location: install/"); exit; } diff --git a/index.php b/index.php index e552b596..5787cc41 100644 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ ## ## ################################################################################# -if(!file_exists('var/installed')) { +if(!file_exists('var/installed') && @opendir('install')) { header("Location: install/"); exit; } diff --git a/login.php b/login.php index d95ed5a8..94c85c56 100644 --- a/login.php +++ b/login.php @@ -10,7 +10,7 @@ ## ## ################################################################################# -if(!file_exists('var/installed')) { +if(!file_exists('var/installed') && @opendir('/var/installed')) { header("Location: install/"); exit; } diff --git a/password.php b/password.php index ce12f62b..b326b749 100644 --- a/password.php +++ b/password.php @@ -9,7 +9,7 @@ ## Copyright: TravianX (c) 2010-2011. All rights reserved. ## ## ## ################################################################################# -if(!file_exists('var/installed')) { +if(!file_exists('var/installed') && @opendir('install')) { header("Location: install/"); exit; }