chore(docker): 可以正常运行
This commit is contained in:
6
src/.gitignore
vendored
6
src/.gitignore
vendored
@@ -29,9 +29,9 @@ Thumbs.db
|
||||
/data/backup/
|
||||
|
||||
# Environment variables
|
||||
# .env
|
||||
# .env.local
|
||||
# .env.*.local
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Build artifacts
|
||||
/node_modules
|
||||
|
||||
@@ -13,10 +13,9 @@
|
||||
header("Content-type:text/html;charset=utf-8");
|
||||
// [ 应用入口文件 ]
|
||||
if (extension_loaded('zlib')){
|
||||
try{
|
||||
ob_end_clean();
|
||||
} catch(Exception $e) {
|
||||
|
||||
// 清除所有现有的输出缓冲区
|
||||
while (ob_get_level() > 0) {
|
||||
@ob_end_clean();
|
||||
}
|
||||
ob_start('ob_gzhandler');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user