diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-05-06 08:34:26 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-05-06 08:34:26 -0300 |
commit | 0ee45df6fcf55699256beab78b37c4a34e956263 (patch) | |
tree | f8175a611c65cd52bba647edf60e594bb4c29bc3 /config/squid3 | |
parent | be405bd3465d4c98d18ee2347be0ec01cbcfecb8 (diff) | |
download | pfsense-packages-0ee45df6fcf55699256beab78b37c4a34e956263.tar.gz pfsense-packages-0ee45df6fcf55699256beab78b37c4a34e956263.tar.bz2 pfsense-packages-0ee45df6fcf55699256beab78b37c4a34e956263.zip |
Declare pfs_version as global so it can be used later
Diffstat (limited to 'config/squid3')
-rwxr-xr-x | config/squid3/34/squid.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 83467c42..de16756b 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -43,6 +43,7 @@ if (!function_exists("filter_configure")) $shortcut_section = "squid"; +global $pfs_version; $pfs_version=substr(trim(file_get_contents("/etc/version")),0,3); if ($pfs_version == "2.1" || $pfs_version == "2.2") { define('SQUID_BASE', '/usr/pbi/squid-' . php_uname("m")); |