Skip to content

Commit

Permalink
fixup! Move Routes setup to RouteProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Dec 21, 2020
1 parent 49d1265 commit 6158ca7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webroot/index.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?php

use Slim\Slim as App;
use XHGui\ServiceContainer;

require dirname(__DIR__) . '/vendor/autoload.php';

$di = new ServiceContainer();
$di = ServiceContainer::instance();
/** @var App $app */
$app = $di['app'];
$app->run();

0 comments on commit 6158ca7

Please sign in to comment.