commit
ab80e6d92a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ $a->set_baseurl(Config::get('system', 'url'));
|
||||||
|
|
||||||
load_hooks();
|
load_hooks();
|
||||||
|
|
||||||
$spawn = (($_SERVER["argc"] <= 1) || ($_SERVER["argv"][1] == "spawn"));
|
$spawn = (($_SERVER["argc"] == 2) && ($_SERVER["argv"][1] == "spawn"));
|
||||||
|
|
||||||
if ($spawn) {
|
if ($spawn) {
|
||||||
Worker::spawnWorker();
|
Worker::spawnWorker();
|
||||||
|
|
Loading…
Reference in a new issue