Move templates compiled files to a separate cache subfolder view instead of main cache folder
This commit is contained in:
parent
283141e0cb
commit
6b2bb1b324
2 changed files with 4 additions and 1 deletions
3
upload/cache/views/.gitignore
vendored
Normal file
3
upload/cache/views/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*
|
||||||
|
|
||||||
|
!.gitignore
|
|
@ -27,7 +27,7 @@ class CBTemplate {
|
||||||
$Smarty->compile_check = true;
|
$Smarty->compile_check = true;
|
||||||
$Smarty->debugging = false;
|
$Smarty->debugging = false;
|
||||||
$Smarty->template_dir = BASEDIR."/styles";
|
$Smarty->template_dir = BASEDIR."/styles";
|
||||||
$Smarty->compile_dir = BASEDIR."/cache";
|
$Smarty->compile_dir = BASEDIR."/cache/views";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue