mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Really basic application object.
This commit is contained in:
1 parent
e11023d1c9
commit
cf30a1280d
4 files changed
+255
-4
No files matched your search
+18
-3
@@ -3,9 +3,24 @@
|
||||
/**
|
||||
* Composer autoload
|
||||
*/
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use Core\Application\Application;
|
||||
use Illuminate\Container\Container;
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
$container = new Container();
|
||||
|
||||
/**
|
||||
* todo: Create a new bootstrap architecture.
|
||||
* Load providers
|
||||
*/
|
||||
require_once __DIR__ . '/../app/Bootstrap.php';
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Create application & run
|
||||
*/
|
||||
$application = new Application(
|
||||
$container
|
||||
);
|
||||
$application->run();
|
||||
Reference in new issue
Block a user