]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
Ignore function "call_user_func_array" in the callstack
[friendica.git] / src / Core / Worker.php
index 525287dd0d605488bccdb9aa747da04f4bbdf326..e3d8df45e40625eb2ce42b31d7328f6639f549f9 100644 (file)
@@ -201,7 +201,7 @@ class Worker
                $mypid = getmypid();
 
                // Quit when in maintenance
-               if (Config::get('system', 'maintenance', true)) {
+               if (Config::get('system', 'maintenance', false, true)) {
                        logger("Maintenance mode - quit process ".$mypid, LOGGER_DEBUG);
                        return false;
                }
@@ -1003,7 +1003,7 @@ class Worker
         */
        public static function spawnWorker()
        {
-               $args = ["scripts/worker.php", "no_cron"];
+               $args = ["bin/worker.php", "no_cron"];
                get_app()->proc_run($args);
        }