From 958e9e467736690a46ae9129db43f8428fc3f04c Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 21 Aug 2011 13:50:25 +0200 Subject: Added libs directory and configured Smarty. --- ratatoeskr/sys/load_smarty.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ratatoeskr/sys/load_smarty.php (limited to 'ratatoeskr/sys/load_smarty.php') diff --git a/ratatoeskr/sys/load_smarty.php b/ratatoeskr/sys/load_smarty.php new file mode 100644 index 0000000..574f3c9 --- /dev/null +++ b/ratatoeskr/sys/load_smarty.php @@ -0,0 +1,28 @@ +setTemplateDir(dirname(__FILE__) . "/../templates/"); + $smarty->setCompileDir(dirname(__FILE__) . "/../tmp/smartytemplates_c"); + $smarty->setCacheDir(dirname(__FILE__) . "/../tmp/smarty/cache"); + $smarty->setConfigDir(dirname(__FILE__) . "/../smarty_confdir"); +} + +?> -- cgit v1.2.3-70-g09d2