chore: track .gitignore

This commit is contained in:
liufumingren 2026-09-29 17:06:19 +08:00
parent 8d8ea6cfc8
commit 0cedbf9ba8

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
# ── 忽略根目录下所有文件/目录 ──
/*
# 例外:.gitignore 本身需要纳入版本控制
!/.gitignore
# ── 仅跟踪 application 目录 ──
!/application/
# ── application 中不跟踪的敏感配置 ──
/application/config.php
/application/database.php
# ── 由数据库生成的运行时配置(后台保存配置时重写,部署不得覆盖) ──
/application/extra/site.php