diff --git a/phpgwapi/templates/justweb/head.inc.php b/phpgwapi/templates/justweb/head.inc.php index a212f62d39..53988460d1 100644 --- a/phpgwapi/templates/justweb/head.inc.php +++ b/phpgwapi/templates/justweb/head.inc.php @@ -17,7 +17,7 @@ $bodyheader = "BGCOLOR=\"".$phpgw_info["theme"]["bg_color"]."\""; } - $tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]); + $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); $tpl->set_unknowns("remove"); $tpl->set_file(array("head" => "head.tpl")); $tpl->set_var("webserver_url", $phpgw_info["server"]["webserver_url"]); diff --git a/phpgwapi/templates/verdilak/head.inc.php b/phpgwapi/templates/verdilak/head.inc.php index 0ed5612a19..314b191ef4 100644 --- a/phpgwapi/templates/verdilak/head.inc.php +++ b/phpgwapi/templates/verdilak/head.inc.php @@ -16,7 +16,7 @@ $bodyheader .= "topmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" leftmargin=\"0\""; } - $tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]); + $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); $tpl->set_unknowns("remove"); $tpl->set_file(array("head" => "head.tpl")); $tpl->set_var("website_title", $phpgw_info["server"]["site_title"]);