/** * This method behaves as usual but prefers files from the "patch" * location over the "core" files of Stud.IP. * * @param string a template string * * @return string an absolute filename * * @throws Flexi_TemplateNotFoundException if the template could not be found */ function get_template_file($template0) { try { return parent::get_template_file($template0); } catch (\Flexi_TemplateNotFoundException $e) { return $this->core_factory->get_template_file($template0); } }