mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:17:17 +02: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
|
@ -54,7 +54,7 @@ require_once "include/dba.php";
|
|||
|
||||
$a = new App(dirname(__DIR__));
|
||||
|
||||
if ($a->mode === App::MODE_NORMAL) {
|
||||
if (App\Mode::isNormal()) {
|
||||
$oAuth = new ExAuth();
|
||||
$oAuth->readStdin();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue