mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 11:54:31 +02:00
Create Container interface, add DiceContainer as implementation
This commit is contained in:
parent
316fac0161
commit
320fe18654
9 changed files with 147 additions and 97 deletions
|
@ -15,7 +15,8 @@ require __DIR__ . '/vendor/autoload.php';
|
|||
|
||||
$request = \GuzzleHttp\Psr7\ServerRequest::fromGlobals();
|
||||
|
||||
$container = \Friendica\Core\Container::fromBasePath(__DIR__);
|
||||
$app = \Friendica\App::fromContainer($container);
|
||||
$container = \Friendica\Core\DiceContainer::fromBasePath(__DIR__);
|
||||
|
||||
$app = \Friendica\App::fromContainer($container);
|
||||
|
||||
$app->processRequest($request, $start_time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue