app/config/services.php: in view, use new viewCacheDir config variable.
This commit is contained in:
parent
97cb0f0f42
commit
758121efe5
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ $di->setShared('view', function () use ($di, $config) {
|
||||||
$volt = new VoltEngine($view, $di);
|
$volt = new VoltEngine($view, $di);
|
||||||
|
|
||||||
$volt->setOptions(array(
|
$volt->setOptions(array(
|
||||||
'compiledPath' => $config->application->cacheDir,
|
'compiledPath' => $config->application->viewCacheDir,
|
||||||
'compiledSeparator' => '_',
|
'compiledSeparator' => '_',
|
||||||
'compileAlways' => true,
|
'compileAlways' => true,
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Reference in a new issue