run fastcgi_finish_request also for non-compat install

This commit is contained in:
Ralf Becker 2018-04-11 15:05:53 +02:00
parent 8cd1707736
commit e6ccdba871

View File

@ -591,7 +591,7 @@ class Egw extends Egw\Base
}
flush();*/
// working for fastCGI :-)
if (function_exists('fastcgi_finish_request') && substr($_SERVER['PHP_SELF'], -32) != '/phpgwapi/cron/asyncservices.php')
if (function_exists('fastcgi_finish_request') && substr($_SERVER['PHP_SELF'], -18) != '/asyncservices.php')
{
fastcgi_finish_request();
}