diff --git a/boot.php b/boot.php index 9d41abec49..f036689769 100644 --- a/boot.php +++ b/boot.php @@ -2318,6 +2318,7 @@ function prepare_body($item) { if(! function_exists('run_proc')) { function proc_run($cmd){ + $a = get_app(); $args = func_get_args(); call_hooks("proc_run", $args);