1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
This commit is contained in:
J. King 2021-02-10 22:30:16 -05:00
parent 3ba82b7c6d
commit 9c0a3b7a57

View file

@ -15,7 +15,7 @@ ini_set("memory_limit", "-1");
ini_set("max_execution_time", "0"); ini_set("max_execution_time", "0");
if (\PHP_SAPI === "cli") { if (\PHP_SAPI === "cli") {
// initialize the CLI; this automatically handles --help and --version else { // initialize the CLI; this automatically handles --help and --version else
Arsse::$obj = new Factory; Arsse::$obj = new Factory;
$cli = new CLI; $cli = new CLI;
// handle other CLI requests; some do not require configuration // handle other CLI requests; some do not require configuration