2022-01-01 19:14:57 +00:00
|
|
|
<?php
|
|
|
|
require __DIR__ . "/vendor/autoload.php";
|
2022-01-03 12:43:22 +00:00
|
|
|
use Steampixel\Route;
|
2022-01-05 23:11:00 +00:00
|
|
|
use Helpers\Misc;
|
2022-01-01 19:14:57 +00:00
|
|
|
|
2022-01-03 12:43:22 +00:00
|
|
|
// LOAD DOTENV
|
2022-01-03 23:18:13 +00:00
|
|
|
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
|
|
|
$dotenv->safeLoad();
|
2022-01-01 19:14:57 +00:00
|
|
|
|
2022-01-03 15:11:24 +00:00
|
|
|
require __DIR__ . '/routes/index.php';
|
2022-01-02 16:39:22 +00:00
|
|
|
|
2022-01-05 23:11:00 +00:00
|
|
|
Route::run(Misc::getSubDir());
|