From 6bfe707ddd945f73c952ee6a8bd243b2aa5250e8 Mon Sep 17 00:00:00 2001 From: seek3r Date: Sun, 7 Jan 2001 06:29:18 +0000 Subject: [PATCH] fixed bug that wasnt loading up default if admin gave users the chioce, and they didnt make one --- phpgwapi/inc/phpgw_info.inc.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/phpgwapi/inc/phpgw_info.inc.php b/phpgwapi/inc/phpgw_info.inc.php index 11286eeb2e..04fdb582b1 100644 --- a/phpgwapi/inc/phpgw_info.inc.php +++ b/phpgwapi/inc/phpgw_info.inc.php @@ -86,15 +86,8 @@ function phpgw_fillarray() { global $phpgw, $phpgw_info, $cd, $colspan; -// if (!isset($phpgw_info["server"]["template_dir"])){ - $phpgw_info["server"]["template_dir"] = $phpgw->common->get_tpl_dir("phpgwapi"); - -// } - -// if (!isset($phpgw_info["server"]["images_dir"])){ - $phpgw_info["server"]["images_dir"] = $phpgw->common->get_image_path("phpgwapi"); -// } - + $phpgw_info["server"]["template_dir"] = $phpgw->common->get_tpl_dir("phpgwapi"); + $phpgw_info["server"]["images_dir"] = $phpgw->common->get_image_path("phpgwapi"); $phpgw_info["server"]["app_root"] = $phpgw->common->get_app_dir(); $phpgw_info["server"]["app_inc"] = $phpgw->common->get_inc_dir(); $phpgw_info["server"]["app_tpl"] = $phpgw->common->get_tpl_dir();