get this working for other locations then /usr/share/egroupware

This commit is contained in:
Ralf Becker 2006-09-18 09:00:13 +00:00
parent 0b375135aa
commit cceda77788

View File

@ -27,7 +27,7 @@
foreach($headerIncPHP as $line) { foreach($headerIncPHP as $line) {
if(preg_match("/GLOBALS\['egw_domain']\['(.*)']/", $line, $matches)) { if(preg_match("/GLOBALS\['egw_domain']\['(.*)']/", $line, $matches)) {
system($_ENV["_"]. ' -q -d memory_limit=16M /usr/share/egroupware/phpgwapi/cron/asyncservices.php '. $matches[1]); system($_ENV["_"]. ' -q -d memory_limit=16M '.$path_to_egroupware.'/phpgwapi/cron/asyncservices.php '. $matches[1]);
} }
} }
?> ?>