fix: database file did not have config included in some cases

This commit is contained in:
Martin Ambrus
2017-09-19 21:25:36 +02:00
parent db4c373ace
commit 4788e882df
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -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'];
+1
View File
@@ -16,6 +16,7 @@
## ##
#################################################################################
include_once("config.php");
class MYSQLi_DB {