RSS initial support
This commit is contained in:
parent
ecdc8241e7
commit
bd1642957c
21 changed files with 329 additions and 161 deletions
|
|
@ -1,12 +1,11 @@
|
|||
<?php
|
||||
require __DIR__ . "/vendor/autoload.php";
|
||||
use Steampixel\Route;
|
||||
use Helpers\Misc;
|
||||
|
||||
// LOAD DOTENV
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->safeLoad();
|
||||
|
||||
// ROUTER
|
||||
$router = new Bramus\Router\Router();
|
||||
require __DIR__ . '/routes/index.php';
|
||||
|
||||
Route::run(Misc::getSubDir());
|
||||
$router->run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue