aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/bind/bind.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc
index 58cd1584..7b5b773e 100644
--- a/config/bind/bind.inc
+++ b/config/bind/bind.inc
@@ -41,7 +41,7 @@ if (!function_exists("filter_configure")) {
}
$pf_version = substr(trim(file_get_contents("/etc/version")), 0, 3);
-if ($pf_version > 2.0) {
+if ($pf_version == "2.1" || $pf_version == "2.2") {
define('BIND_LOCALBASE', '/usr/pbi/bind-'.php_uname("m"));
} else {
define('BIND_LOCALBASE', '/usr/local');