The worker can now run from the frontend as well

This commit is contained in:
Michael
2016-11-27 00:55:05 +00:00
parent 5e466aade0
commit e856ab9a09
5 changed files with 196 additions and 94 deletions

View File

@@ -1385,6 +1385,10 @@ class App {
function proc_run($args) {
if (!function_exists("proc_open")) {
return;
}
// Add the php path if it is a php call
if (count($args) && ($args[0] === 'php' OR !is_string($args[0]))) {