mirror of
https://github.com/github/gitignore.git
synced 2024-12-29 02:35:08 +08:00
Adding index.html files for cache and upload folders
index.html should be in the upload and cache folders in order to avoid direct access
This commit is contained in:
parent
fe7a6d23f3
commit
f88f48845d
@ -7,6 +7,7 @@
|
|||||||
# For development the cache directory can be safely ignored and
|
# For development the cache directory can be safely ignored and
|
||||||
# therefore it is ignored.
|
# therefore it is ignored.
|
||||||
/cache/
|
/cache/
|
||||||
|
!/cache/index.html
|
||||||
# Ignore some files and directories from the custom directory.
|
# Ignore some files and directories from the custom directory.
|
||||||
/custom/history/
|
/custom/history/
|
||||||
/custom/modulebuilder/
|
/custom/modulebuilder/
|
||||||
@ -22,4 +23,5 @@
|
|||||||
*.log
|
*.log
|
||||||
# Ignore the new upload directories.
|
# Ignore the new upload directories.
|
||||||
/upload/
|
/upload/
|
||||||
|
!/upload/index.html
|
||||||
/upload_backup/
|
/upload_backup/
|
||||||
|
Loading…
Reference in New Issue
Block a user