diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-04-23 13:08:25 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-04-23 13:08:25 -0300 |
commit | 09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b (patch) | |
tree | cc4839927eef397e20b248ee927a5f298ede87ee /config | |
parent | 668c8abc54d02c473c9e272c22995d636149960f (diff) | |
download | pfsense-packages-09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b.tar.gz pfsense-packages-09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b.tar.bz2 pfsense-packages-09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b.zip |
Sanitize version prepare dependencies and uses for ports apache-mod_security and apache-mod_security-devel
Diffstat (limited to 'config')
-rw-r--r-- | config/apache_mod_security-dev/apache_mod_security.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc index 1ef78819..72c1f9b4 100644 --- a/config/apache_mod_security-dev/apache_mod_security.inc +++ b/config/apache_mod_security-dev/apache_mod_security.inc @@ -34,7 +34,7 @@ require_once("service-utils.inc"); $shortcut_section = "apache"; // Check to find out on which system the package is running $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('APACHEDIR', '/usr/pbi/proxy_mod_security-' . php_uname("m")); else define('APACHEDIR', '/usr/local'); |