mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30: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
|
@ -65,7 +65,7 @@ HELP;
|
|||
$this->out('Options: ' . var_export($this->options, true));
|
||||
}
|
||||
|
||||
if (!($a->mode & App::MODE_DBCONFIGAVAILABLE)) {
|
||||
if (!App\Mode::has(App\Mode::DBCONFIGAVAILABLE)) {
|
||||
$this->out('Database isn\'t ready or populated yet, database cache won\'t be available');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue