mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:17:17 +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
|
@ -27,7 +27,7 @@ require dirname(__DIR__) . '/vendor/autoload.php';
|
|||
$argv = $_SERVER['argv'] ?? [];
|
||||
array_splice($argv, 1, 0, "daemon");
|
||||
|
||||
$container = \Friendica\Core\Container::fromBasePath(dirname(__DIR__));
|
||||
$container = \Friendica\Core\DiceContainer::fromBasePath(dirname(__DIR__));
|
||||
|
||||
$app = \Friendica\App::fromContainer($container);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue