Merge pull request #186 from AlleyShairu/master

Move templates compiled files to a separate cache subfolder
This commit is contained in:
Fahad Abbas 2018-05-11 15:54:09 +05:00 committed by GitHub
commit 47b69338b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
upload/cache/views/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*
!.gitignore

View file

@ -27,7 +27,7 @@ class CBTemplate {
$Smarty->compile_check = true;
$Smarty->debugging = false;
$Smarty->template_dir = BASEDIR."/styles";
$Smarty->compile_dir = BASEDIR."/cache";
$Smarty->compile_dir = BASEDIR."/cache/views";
}