proxitok/index.php

13 lines
248 B
PHP
Raw Normal View History

2022-01-01 14:14:57 -05:00
<?php
require __DIR__ . "/vendor/autoload.php";
2022-01-03 07:43:22 -05:00
use Steampixel\Route;
use Helpers\Misc;
2022-01-01 14:14:57 -05:00
2022-01-03 07:43:22 -05:00
// LOAD DOTENV
2022-01-03 18:18:13 -05:00
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();
2022-01-01 14:14:57 -05:00
require __DIR__ . '/routes/index.php';
Route::run(Misc::getSubDir());