You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
385 B
PHTML
18 lines
385 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
use Engelsystem\Application;
|
||
|
use Engelsystem\Config\Config;
|
||
|
|
||
|
/**
|
||
|
* Include the autoloader
|
||
|
*/
|
||
|
require_once __DIR__ . '/autoload.php';
|
||
|
|
||
|
/**
|
||
|
* Initialize and bootstrap the application
|
||
|
*/
|
||
|
$app = new Application(realpath(__DIR__ . DIRECTORY_SEPARATOR . '..'));
|
||
|
$appConfig = $app->make(Config::class);
|
||
|
$appConfig->set(require config_path('app.php'));
|
||
|
$app->bootstrap($appConfig);
|