Move templates compiled files to a separate cache subfolder view instead of main cache folder

This commit is contained in:
Alley Shairu 2016-06-26 18:32:20 +05:00
parent 283141e0cb
commit 6b2bb1b324
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";
}