public function testAbsoluteDir() { $obj = new HtmlTemplate(); $obj->setCacheDir('/tmp'); $obj->setProjectTemplateDir(SYNERGY_ROOT_DIR . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'templates'); $obj->setTemplateDir(SYNERGY_ROOT_DIR . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'templates'); $obj->setTemplateFile('index.html'); $obj->init(); }