summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-04 20:10:10 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-04 20:10:10 +0000
commitc4aa146f3a1e8fdf75a0fc0e024c144692d92cfc (patch)
treeb06a65bb6bdb4ff8df02ab68d24ae073e8b7c836
parenta9f2d88bd254779a0c611ee0a9d4c625357efa96 (diff)
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
-rw-r--r--phpfspot_tmpl.php8
1 files changed, 1 insertions, 7 deletions
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()
-
}
?>