mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Creating Friendica\App\Mode for encapsulating the App Mode
This commit is contained in:
parent
3c7d41c388
commit
065340dc32
9 changed files with 128 additions and 89 deletions
|
@ -56,7 +56,7 @@ HELP;
|
|||
throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
|
||||
}
|
||||
|
||||
if ($a->mode === App::MODE_INSTALL) {
|
||||
if (App\Mode::isInstall()) {
|
||||
throw new RuntimeException('Friendica isn\'t properly installed yet.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue