protected function _get_template_path($name)
{
$_k = "template_path:{$name}";
$path = $this->cache->get($_k);
if ($path) {
return $path;
}
foreach ($this->template_paths as $dir) {
$path = $dir . $name;
if (file_exists($path)) {
$this->cache->set($_k, $path);
return $path;
}
}
return False;
}