aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-12 23:07:46 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-12 23:07:46 +0200
commitf78d8f684d8bd839d47bc1230d2086eaadbe1bd0 (patch)
treec77342a043b3112652cbd1a55b27108866d620e3
parent9b247c59f4b2185e8898787acbff09c5d6b0bae5 (diff)
downloadpfsense-packages-f78d8f684d8bd839d47bc1230d2086eaadbe1bd0.tar.gz
pfsense-packages-f78d8f684d8bd839d47bc1230d2086eaadbe1bd0.tar.bz2
pfsense-packages-f78d8f684d8bd839d47bc1230d2086eaadbe1bd0.zip
default to the custom created templates directory
-rw-r--r--config/havp/havp.inc2
1 files changed, 1 insertions, 1 deletions
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];