From 57e2b9408c5daa4d13e76c39c8cd5a3c5fb97e02 Mon Sep 17 00:00:00 2001 From: jengo Date: Sat, 10 Feb 2001 14:09:35 +0000 Subject: [PATCH] Fixed template not loading up for apps --- phpgwapi/inc/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 9dae18dbf4..99aca3eda3 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -298,7 +298,7 @@ /*************************************************************************\ * These lines load up the templates class * \*************************************************************************/ - $phpgw->template = CreateObject("phpgwapi.Template", PHPGW_TEMPLATE_DIR); + $phpgw->template = CreateObject("phpgwapi.Template",$phpgw->common->get_tpl_dir($phpgw_info['flags']['currentapp'])); /*************************************************************************\ * These lines load up the themes *