moved storage directories into their own space

This commit is contained in:
flash 2016-12-06 14:45:49 +01:00
parent 438f3214a7
commit 9a0c8a9c78
4 changed files with 7 additions and 9 deletions

12
.gitignore vendored
View file

@ -6,9 +6,11 @@
# Configuration # Configuration
/config/config.ini /config/config.ini
# Cache # Storage
/cache/* /store/cache/*
!/cache/.gitkeep !/store/cache/.gitkeep
/store/uploads/*
!/store/uploads/.gitkeep
# OS specific shit # OS specific shit
[Tt]humbs.db [Tt]humbs.db
@ -18,7 +20,3 @@
/public/js /public/js
/public/css /public/css
/resources/assets/typescript/*.d.ts /resources/assets/typescript/*.d.ts
# User assets
/uploads/*
!/uploads/.gitkeep

View file

@ -65,7 +65,7 @@ prefix = sakura_
compression = true compression = true
; Cache directory ; Cache directory
cache_dir = cache/ cache_dir = store/cache/
; Enable template caching ; Enable template caching
template_cache = true template_cache = true
@ -107,7 +107,7 @@ secure = tls
; File settings ; File settings
[file] [file]
uploads_dir = uploads/ uploads_dir = store/uploads/
; Avatar requirements ; Avatar requirements
[file.avatar] [file.avatar]