diff --git a/GameEngine/Admin/Mods/editServerSet.php b/GameEngine/Admin/Mods/editServerSet.php index d24d552a..233351de 100755 --- a/GameEngine/Admin/Mods/editServerSet.php +++ b/GameEngine/Admin/Mods/editServerSet.php @@ -11,7 +11,6 @@ if(!isset($_SESSION)) session_start(); if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); -include_once("../../config.php"); include_once("../../Database.php"); $id = $_POST['id']; diff --git a/GameEngine/Database.php b/GameEngine/Database.php index bf0ed663..107c4736 100755 --- a/GameEngine/Database.php +++ b/GameEngine/Database.php @@ -16,6 +16,7 @@ ## ## ################################################################################# +include_once("config.php"); class MYSQLi_DB {