HI there,
I have the following in my index.php file:
//Setup the view component
$di->set('view', function() use ($config) {
$view = new \Phalcon\Mvc\View();
$view->setViewsDir(__DIR__ . $config->application->viewsDir);
$view->registerEngines(array(
'.volt' => 'volt'
));
return $view;
});
$di->set('volt', function($view, $di) {
$volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
$volt->setOptions(array(
"compiledPath" => "../cache/volt/"
));
return $volt;
}, true);
Should I expect Phalcon to still process .phtml files in addition to .volt files or, should I expect Phalcon to process .volt files only?
Many thanks.