From: Andreas Unterkircher Date: Mon, 4 Jun 2007 20:10:10 +0000 (+0000) Subject: not a good idea to extend classes with already existing function names. X-Git-Tag: phpfspot-1.2~323 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=c4aa146f3a1e8fdf75a0fc0e024c144692d92cfc 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 --- 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() - } ?>