--TEST-- Check for Yaf_View_Simple and application's template directory --SKIPIF-- --INI-- yaf.library="/php/global/dir" yaf.use_namespace=0 --FILE-- getMessage()); } $config = array( "application" => array( "directory" => dirname(__FILE__), ), ); $app = new Yaf_Application($config); $view = Yaf_Dispatcher::getInstance()->initView(""); var_dump($view->getScriptPath()); ?> --EXPECTF-- string(%d) "Expects an absolute path for templates directory" NULL