Rework App modes

- Replace App mode constants with capability-based flags
- Add App->isInstallMode()
- Add file config fallback in (P)Config abstraction
- Removed logger disabling code
This commit is contained in:
Hypolite Petovan 2018-06-30 14:40:09 -04:00
commit cd9b864045
12 changed files with 74 additions and 79 deletions

View file

@ -28,7 +28,7 @@ require_once "include/dba.php";
$a = new App(dirname(__DIR__));
if ($a->mode === App::MODE_INSTALL) {
if ($a->isInstallMode()) {
die("Friendica isn't properly installed yet.\n");
}