chdir($directory);
-require_once "boot.php";
-require_once "include/dba.php";
+require dirname(__DIR__) . '/vendor/autoload.php';
$a = new App(dirname(__DIR__));
-$oAuth = new ExAuth();
-
-$oAuth->readStdin();
\ No newline at end of file
+if ($a->getMode()->isNormal()) {
+ $oAuth = new ExAuth();
+ $oAuth->readStdin();
+}