From c4aa146f3a1e8fdf75a0fc0e024c144692d92cfc Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Mon, 4 Jun 2007 20:10:10 +0000 Subject: not a good idea to extend classes with already existing function names. this results in a "segmentation fault" error git-svn-id: file:///var/lib/svn/phpfspot/trunk@12 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot_tmpl.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'phpfspot_tmpl.php') diff --git a/phpfspot_tmpl.php b/phpfspot_tmpl.php index affb543..b5c1930 100644 --- a/phpfspot_tmpl.php +++ b/phpfspot_tmpl.php @@ -10,8 +10,8 @@ class PHPFSPOT_TMPL extends Smarty { { $this->Smarty(); $this->template_dir = $parent->cfg->base_path .'/templates'; - $this->config_dir = $parent->cfg->base_path .'/smarty_config'; $this->compile_dir = $parent->cfg->base_path .'/templates_c'; + $this->config_dir = $parent->cfg->base_path .'/smarty_config'; $this->cache_dir = $parent->cfg->base_path .'/smarty_cache'; } // __construct() @@ -22,12 +22,6 @@ class PHPFSPOT_TMPL extends Smarty { } // show() - public function fetch($template) - { - return $this->fetch($template); - - } // fetch() - } ?> -- cgit v1.2.3-18-g5258