not a good idea to extend classes with already existing function names.
authorAndreas Unterkircher <unki@netshadow.at>
Mon, 4 Jun 2007 20:10:10 +0000 (20:10 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 4 Jun 2007 20:10:10 +0000 (20:10 +0000)
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

index affb54373e20d2dca2d94cc29539dffd25d503ed..b5c1930fbac8818d07d92ecd52a88a9ecc43f663 100644 (file)
@@ -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() 
-
 }
 
 ?>