News are coming

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@38 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
akulikov
2008-12-29 12:42:57 +00:00
parent bf6a6e2e67
commit 83d25fa24b

View File

@ -44,8 +44,9 @@ abstract class Action
*/ */
public function display() public function display()
{ {
$this->templater = Load::templater(ACTION_TPL_PATH.'/'.$this->template_dir); $this->templater = Load::templater();
$this->prepare(); $this->prepare();
$this->templater->setPath(ACTION_TPL_PATH.'/'.$this->template_dir);
return $this->templater->fetch($this->template.'.tpl'); return $this->templater->fetch($this->template.'.tpl');
} }