backend/bootstrap.php
2024-07-29 16:07:51 +03:00

14 lines
332 B
PHP

<?php
require_once __DIR__ . "/vendor/autoload.php";
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->load();
include_once __DIR__ . "/bootstrap/db.php";
include_once __DIR__ . "/bootstrap/header.php";
const ROOT_DIR = __DIR__;
const KERNEL_DIR = __DIR__ . "/kernel";
const CONSOLE_DIR = __DIR__ . "/kernel/console";