The worker can now run from the frontend as well
This commit is contained in:
parent
5e466aade0
commit
e856ab9a09
5 changed files with 196 additions and 94 deletions
4
boot.php
4
boot.php
|
|
@ -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]))) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue