From 2b3381ae3a3a3813c4bb10d36cb2b1c56506c94d Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 9 Jun 2012 03:46:51 +0300 Subject: [PATCH] fix include in GameEngine/Admin/database.php --- Admin/database.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Admin/database.php b/Admin/database.php index b1354aee..b0df8116 100644 --- a/Admin/database.php +++ b/Admin/database.php @@ -16,10 +16,13 @@ ## Source code: http://www.github.com/ZZJHONS/ZravianX ## ## ## ################################################################################# - +if(!file_exists('GameEngine/config.php') && !file_exists('../../GameEngine/config.php') && !file_exists('../../config.php')){ +include("../../GameEngine/config.php"); +include("../../GameEngine/Data/buidata.php"); +}else{ include("../GameEngine/config.php"); include("../GameEngine/Data/buidata.php"); - +} class adm_DB { var $connection;