some fixes for admin panel

This commit is contained in:
unknown
2012-05-20 15:29:04 +03:00
parent 3bcc09d110
commit 5d82ddb51a
8 changed files with 89 additions and 16 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ ob_start();
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ##
#################################################################################
if(!file_exists('GameEngine/config.php') && !file_exists('../../GameEngine/config.php')) {header("Location: install/");}
if(!file_exists('GameEngine/config.php') && !file_exists('../../GameEngine/config.php') && !file_exists('../../config.php')) {header("Location: install/");}
$script_name = ($_SERVER['REQUEST_URI'] == 'karte.php') ? 'karte' : $_SERVER['REQUEST_URI'];
include ("Battle.php");