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 7c1a481d97
commit 235821b04a

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();
}