chore(docker): 可以正常运行

This commit is contained in:
2025-12-17 13:55:46 +08:00
parent ad4cb058fc
commit 12572cbd71
5 changed files with 14 additions and 110 deletions

6
src/.gitignore vendored
View File

@@ -29,9 +29,9 @@ Thumbs.db
/data/backup/
# Environment variables
# .env
# .env.local
# .env.*.local
.env
.env.local
.env.*.local
# Build artifacts
/node_modules

View File

@@ -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');
}