Prevent infinite loops with Config when App is in install mode

This commit is contained in:
Hypolite Petovan 2018-06-25 20:57:57 -04:00
parent 46b34574d9
commit fd7179ee6c
3 changed files with 55 additions and 5 deletions

View file

@ -54,6 +54,7 @@ require_once "include/dba.php";
$a = new App(dirname(__DIR__));
$oAuth = new ExAuth();
$oAuth->readStdin();
if ($a->mode === App::MODE_NORMAL) {
$oAuth = new ExAuth();
$oAuth->readStdin();
}