MicroFrameWork/bootstrap.php

14 lines
332 B
PHP
Raw Normal View History

2024-07-03 14:41:15 +03:00
<?php
2024-07-10 12:42:50 +03:00
require_once __DIR__ . "/vendor/autoload.php";
2024-07-03 15:15:59 +03:00
2024-07-10 12:42:50 +03:00
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->load();
include_once __DIR__ . "/bootstrap/db.php";
2024-07-29 16:07:51 +03:00
include_once __DIR__ . "/bootstrap/header.php";
2024-07-10 12:42:50 +03:00
const ROOT_DIR = __DIR__;
2024-07-29 15:57:20 +03:00
const KERNEL_DIR = __DIR__ . "/kernel";
const CONSOLE_DIR = __DIR__ . "/kernel/console";
2024-07-03 15:15:59 +03:00