From 4f8ac15899ae03107fb749d7699160b7e3da2f8a Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 2 Oct 2017 08:55:55 -0400 Subject: [PATCH] update --- index.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index 94369b1..b300380 100644 --- a/index.php +++ b/index.php @@ -77,10 +77,10 @@ $projectArray = array( 'data' => getProjectTaskById(4091, $dbh) ), array( - 'id' => 4144, - 'name' => 'Keweenaw', - 'sName' => 'keweenaw', - 'data' => getProjectTaskById(4144, $dbh) + 'id' => 4159, + 'name' => 'Meetings Michigan', + 'sName' => 'meetingsmi', + 'data' => getProjectTaskById(4159, $dbh) ), array( 'id' => 4074, @@ -114,10 +114,11 @@ require 'libs/Smarty-3.1.21/libs/SmartyBC.class.php'; $tpl = new SmartyBC(); // Smarty setup -$tpl->setTemplateDir('views'); -$tpl->setCompileDir('compiled'); -$tpl->setCacheDir('cache'); -$tpl->setConfigDir('config'); +define('TEMPLATE_PATH', '/var/www/server/glmdb.gaslightmedia.com/Dash/'); +$tpl->setTemplateDir(TEMPLATE_PATH . 'views/'); +$tpl->setCompileDir(TEMPLATE_PATH . 'compiled/'); +$tpl->setCacheDir(TEMPLATE_PATH . 'cache/'); +$tpl->setConfigDir(TEMPLATE_PATH . 'config/'); $tpl->assign('title', 'Gaslight Backbone Demo'); $tpl->assign('projects', $projectArray); -- 2.17.1