mirror of
https://github.com/friendica/friendica
synced 2025-03-25 00:44:07 +00:00
simplify class names
This commit is contained in:
parent
bac5f00190
commit
a2c4585914
1 changed files with 3 additions and 3 deletions
|
@ -190,7 +190,7 @@ class App
|
||||||
$this->registerErrorHandler();
|
$this->registerErrorHandler();
|
||||||
|
|
||||||
// Check the database structure and possibly fixes it
|
// Check the database structure and possibly fixes it
|
||||||
\Friendica\Core\Update::check(\Friendica\DI::basePath(), true);
|
Update::check(DI::basePath(), true);
|
||||||
|
|
||||||
$appMode = $this->container->create(Mode::class);
|
$appMode = $this->container->create(Mode::class);
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ class App
|
||||||
$this->container = $this->container->addRule(LoggerInterface::class, ['constructParams' => [Logger\Capability\LogChannel::DAEMON]]);
|
$this->container = $this->container->addRule(LoggerInterface::class, ['constructParams' => [Logger\Capability\LogChannel::DAEMON]]);
|
||||||
|
|
||||||
DI::init($this->container);
|
DI::init($this->container);
|
||||||
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(\Psr\Log\LoggerInterface::class));
|
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class));
|
||||||
|
|
||||||
if (DI::mode()->isInstall()) {
|
if (DI::mode()->isInstall()) {
|
||||||
die("Friendica isn't properly installed yet.\n");
|
die("Friendica isn't properly installed yet.\n");
|
||||||
|
@ -433,7 +433,7 @@ class App
|
||||||
|
|
||||||
private function setupLegacyServerLocator(): void
|
private function setupLegacyServerLocator(): void
|
||||||
{
|
{
|
||||||
\Friendica\DI::init($this->container);
|
DI::init($this->container);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function registerErrorHandler(): void
|
private function registerErrorHandler(): void
|
||||||
|
|
Loading…
Add table
Reference in a new issue