From 61f2970e221f8612e51e7802cc127819c4caa369 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Mon, 4 Jun 2007 18:32:41 +0000 Subject: initial import git-svn-id: file:///var/lib/svn/phpfspot/trunk@2 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot_tmpl.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 phpfspot_tmpl.php (limited to 'phpfspot_tmpl.php') diff --git a/phpfspot_tmpl.php b/phpfspot_tmpl.php new file mode 100644 index 0000000..4dd24e6 --- /dev/null +++ b/phpfspot_tmpl.php @@ -0,0 +1,27 @@ +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->cache_dir = $parent->cfg->base_path .'/smarty_cache'; + + } // __construct() + + public function show($template) + { + $this->display($template); + + } // show() + +} + +?> -- cgit v1.2.3-18-g5258