fixed bug that wasnt loading up default if admin gave users the chioce, and they didnt make one

This commit is contained in:
seek3r 2001-01-07 06:29:18 +00:00
parent 39e22a5202
commit 6bfe707ddd

View File

@ -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"]["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();