From 3ba82b7c6da01d961990dc5ba872e1449ff9eb47 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Wed, 10 Feb 2021 22:12:00 -0500 Subject: [PATCH] Fix CLI bootstrap problem --- arsse.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arsse.php b/arsse.php index 546723b9..32db15ae 100644 --- a/arsse.php +++ b/arsse.php @@ -15,7 +15,8 @@ ini_set("memory_limit", "-1"); ini_set("max_execution_time", "0"); if (\PHP_SAPI === "cli") { - // initialize the CLI; this automatically handles --help and --version + // initialize the CLI; this automatically handles --help and --version else { + Arsse::$obj = new Factory; $cli = new CLI; // handle other CLI requests; some do not require configuration $exitStatus = $cli->dispatch();