diff --git a/api/asyncwrapper.php b/api/asyncwrapper.php index f754f264a3..07316aecc6 100644 --- a/api/asyncwrapper.php +++ b/api/asyncwrapper.php @@ -1,4 +1,4 @@ -#!/usr/bin/php -qC +#!/usr/bin/env php no memory limit - system($php. ' -q -d memory_limit=-1 '.$path_to_egroupware.'/api/asyncservices.php '. $matches[1]); + system(PHP_BINARY. ' -q -d memory_limit=-1 '.$path_to_egroupware.'/api/asyncservices.php '. $matches[1]); } }