mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-30 07:07:14 +00:00
fix: database file did not have config included in some cases
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
if(!isset($_SESSION)) session_start();
|
if(!isset($_SESSION)) session_start();
|
||||||
if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||||
include_once("../../config.php");
|
|
||||||
include_once("../../Database.php");
|
include_once("../../Database.php");
|
||||||
$id = $_POST['id'];
|
$id = $_POST['id'];
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
include_once("config.php");
|
||||||
|
|
||||||
class MYSQLi_DB {
|
class MYSQLi_DB {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user