Hi there
The "echo" show me C:\Apache24\htdocs\phalcon\app\views
on my screen, but phalcon says it's not a string. But it is a string in my opinion!!
$APP_PATH_VIEWS = "".APP_PATH . SEPARATOR.'views'; echo 'APP_PATH_VIEWS: '."\r\n".$APP_PATH_VIEWS."\r\n\r\n";
$di = new Phalcon\DI\FactoryDefault();
$di->set('view', function() {
$view = new \Phalcon\Mvc\View();
$view->setViewsDir($APP_PATH_VIEWS);
return $view;
});
And that does also not work: $view->setViewsDir("" . $APP_PATH_VIEWS);
Thank you for your feedbacks.
With best regards, Jan