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:
Tevfik Tümer 2016-07-25 12:25:19 +02:00 committed by GitHub
parent fe7a6d23f3
commit f88f48845d

View File

@ -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/