fix:内置开发服务总是禁用输出压缩

This commit is contained in:
妙码生花 2024-03-30 23:50:33 +08:00
parent f748f60e27
commit a7940c97c9

View File

@ -10,6 +10,8 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// $Id$ // $Id$
@ini_set('zlib.output_compression', 'Off');
if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) { if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) {
return false; return false;
} else { } else {