fixed _boostrap
This commit is contained in:
@@ -8,20 +8,15 @@ error_reporting(E_ALL);
|
|||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
|
|
||||||
// ==============================
|
// ==============================
|
||||||
// PATH BASE
|
// DB (public/class/db-functions.php)
|
||||||
// ==============================
|
// ==============================
|
||||||
$BASE_PATH = dirname(__DIR__) . '/userarea';
|
require_once dirname(__DIR__) . '/class/db-functions.php';
|
||||||
|
|
||||||
// ==============================
|
|
||||||
// DB
|
|
||||||
// ==============================
|
|
||||||
require_once $BASE_PATH . '/class/db-functions.php';
|
|
||||||
$db = DBHandlerSelect::getInstance()->getConnection();
|
$db = DBHandlerSelect::getInstance()->getConnection();
|
||||||
|
|
||||||
// ==============================
|
// ==============================
|
||||||
// AUTH VANGUARD
|
// AUTH VANGUARD (radice progetto: extra/auth.php)
|
||||||
// ==============================
|
// ==============================
|
||||||
require_once $BASE_PATH . '/../../extra/auth.php';
|
require_once dirname(__DIR__, 2) . '/extra/auth.php';
|
||||||
|
|
||||||
// ==============================
|
// ==============================
|
||||||
// AUTH API (TOKEN)
|
// AUTH API (TOKEN)
|
||||||
|
|||||||
Reference in New Issue
Block a user