34 lines
525 B
PHP
Raw Normal View History

2020-04-20 21:49:30 +02:00
<?php
2020-04-21 15:27:57 +02:00
/**
* Composer autoload
*/
2020-12-15 21:10:42 +01:00
use Core\Application\Application;
use Core\Configuration\Configurations;
2020-12-15 21:10:42 +01:00
use Illuminate\Container\Container;
require_once __DIR__ . '/../vendor/autoload.php';
$container = new Container();
$container->singleton(
Configurations::class,
Configurations::class
);
2020-12-15 16:59:08 +01:00
/**
2020-12-15 21:10:42 +01:00
* Create application & run
2020-12-15 16:59:08 +01:00
*/
2020-12-15 21:10:42 +01:00
$application = new Application(
$container,
$container->make(Configurations::class)
2020-12-15 21:10:42 +01:00
);
$application->run();
/**
* Bootstrap v1.0
*/
require_once __DIR__ . '/../app/Bootstrap.php';