From 51609351f2c4b5082b7e6f0744cd3811c325303f Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 11 Oct 2016 14:01:29 +0200 Subject: * initial template --- include/MySmarty.class.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/MySmarty.class.php (limited to 'include/MySmarty.class.php') diff --git a/include/MySmarty.class.php b/include/MySmarty.class.php new file mode 100644 index 0000000..31aa5b4 --- /dev/null +++ b/include/MySmarty.class.php @@ -0,0 +1,18 @@ +caching = Smarty::CACHING_OFF; + $this->template_dir = BASEPATH.'/template'; + $this->compile_dir = BASEPATH.'/caches/smarty/compile'; + $this->cache_dir = BASEPATH.'/caches/smarty'; + $this->addPluginsDir(BASEPATH.'/lib/smarty-plugins'); + } + +} + +?> \ No newline at end of file -- cgit v1.2.3