From f78d8f684d8bd839d47bc1230d2086eaadbe1bd0 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 12 Sep 2015 23:07:46 +0200 Subject: default to the custom created templates directory --- config/havp/havp.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/havp/havp.inc b/config/havp/havp.inc index 40c1dfbc..9e931a95 100644 --- a/config/havp/havp.inc +++ b/config/havp/havp.inc @@ -633,7 +633,7 @@ function havp_convert_pfxml_xml() { $havp_config[F_PROXYBINDIFACE] = 'localhost'; /* Language template files path */ $lng = $havp_config[F_LANGUAGE] ? $havp_config[F_LANGUAGE] : "en"; - $havp_config[F_TEMPLATEPATH] = (file_exists(HVDEF_TEMPLATES . "/$lng") ? HVDEF_TEMPLATES : HVDEF_TEMPLATES_EX ); + $havp_config[F_TEMPLATEPATH] = (file_exists(HVDEF_TEMPLATES_EX . "/$lng") ? HVDEF_TEMPLATES_EX : HVDEF_TEMPLATES ); $havp_config[F_TEMPLATEPATH] .= "/$lng"; /* AV settings */ $pf_avset_conf = $config['installedpackages'][HVFORM_AVSET]['config'][0]; -- cgit v1.2.3