New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Volt compiled options not working #13968
Comments
Re-opening this bug, looks like this new changes and old options not working for me in 4.0.0-alpha.4. Here is the code I used to test it. All it does is place all the cached files in my $di->set('view', function() {
$view = new View();
$view->setViewsDir('../app/views/');
$view->registerEngines([
'.volt' => function($view) {
$volt = new Volt($view, $this);
$volt->setOptions([
'path' => '../app/cache/', /* NOT WORKING */
'extension' => '.html', /* NOT WORKING */
'separator' => '_', /* NOT WORKING */
'stat' => true, /* NOT WORKING */
'always' => true, /* NOT WORKING */
]); #options
return $volt;
} #volt
]); #engines
return $view;
}); #view |
Okay, I done more tests and only thing works properly is when one
Is it something I'm doing wrong in my code or something has changed again? A little help is appreciated. |
Resolved |
In phalcon version 4.0.0-alpha.3 all compiled options in volt not working properly.
The text was updated successfully, but these errors were encountered: