From 50880af4073b52146526137b1862f8c46abccc84 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 11 Jul 2014 12:54:00 -0400 Subject: [PATCH] Setup for Smarty Needed update for Smarty to be used. --- Toolkit/Smarty.php | 21 +++++++++++++++++++++ setup.phtml | 1 + 2 files changed, 22 insertions(+) create mode 100644 Toolkit/Smarty.php diff --git a/Toolkit/Smarty.php b/Toolkit/Smarty.php new file mode 100644 index 0000000..80d2afa --- /dev/null +++ b/Toolkit/Smarty.php @@ -0,0 +1,21 @@ +setTemplateDir($templateDir); + $this->setCompileDir($compileDir); + $this->setConfigDir($configDir); + $this->setCacheDir($cacheDir); + } +} diff --git a/setup.phtml b/setup.phtml index 7d80027..3695959 100644 --- a/setup.phtml +++ b/setup.phtml @@ -97,6 +97,7 @@ default : // {{{ die('

Your request could not be completed at this time, please try again later!

'); break; // }}} } // }}} +define('SMARTY_DIR', '/var/www/server/CommonApps/Smarty/3.1/'); /** * Path to the common GLM application repository */ -- 2.17.1