Author
|
zPlus <->
2016-03-19 08:00:09
|
Committer
|
zPlus <->
2016-03-19 08:00:09
|
Commit
|
0bfc2a6
(patch)
|
Tree
|
3d12551
|
Parent(s)
|
|
Change template cache path
commits diff:
f0e911a..0bfc2a6
2 files changed,
2 insertions,
2 deletions
—
download
Diffstat
Diff options
+1/-1
M .gitignore
1
|
|
- |
/template/cache/*
|
|
1
|
+ |
/cache/template/*
|
2
|
2
|
|
/*.prod |
2
|
2
|
= |
\ No newline at end of file
|
+1/-1
M twig.php
10
|
10
|
|
|
11
|
11
|
|
$twig = new Twig_Environment(
|
12
|
12
|
|
new Twig_Loader_Filesystem('./template/'), // Path to templates
|
13
|
|
- |
array('cache' => './template/cache/')); // Path to templates cache
|
|
13
|
+ |
array('cache' => './cache/template/')); // Path to templates cache
|
14
|
14
|
|
|
15
|
15
|
|
|
16
|
16
|
|
// GLOBALS =================================================================
|