update add constant IN_NEXUS

This commit is contained in:
xiaomlove
2021-06-04 17:54:10 +08:00
parent 96f78f6dd8
commit 9a4ef55b12

View File

@@ -3,6 +3,7 @@ ini_set('error_reporting', E_ALL);
ini_set('display_errors', 0);
$rootpath = dirname(dirname(__DIR__)) . '/';
define('ROOT_PATH', $rootpath);
define('IN_NEXUS', true);
$isPost = $_SERVER['REQUEST_METHOD'] == 'POST';
require $rootpath . 'vendor/autoload.php';
require $rootpath . 'nexus/Database/helpers.php';