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();*/ flush();*/
// working for fastCGI :-) // 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(); fastcgi_finish_request();
} }