diff options
author | Sergey Dvoriancev <dv_serg@mail.ru> | 2012-10-31 21:03:19 +0400 |
---|---|---|
committer | Sergey Dvoriancev <dv_serg@mail.ru> | 2012-10-31 21:03:19 +0400 |
commit | 43e964fbbda58e4b8be0920ea01dd3f72aec4d9b (patch) | |
tree | 1644515d47099dd0fa791a2ac3168377811da2d7 /config/lightsquid | |
parent | 445f2a63daf0a7b1120dd0ad66461d3b8ffd10c1 (diff) | |
download | pfsense-packages-43e964fbbda58e4b8be0920ea01dd3f72aec4d9b.tar.gz pfsense-packages-43e964fbbda58e4b8be0920ea01dd3f72aec4d9b.tar.bz2 pfsense-packages-43e964fbbda58e4b8be0920ea01dd3f72aec4d9b.zip |
Update config/lightsquid/lightsquid.inc
Fix squid.inc include
Diffstat (limited to 'config/lightsquid')
-rw-r--r-- | config/lightsquid/lightsquid.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/lightsquid/lightsquid.inc b/config/lightsquid/lightsquid.inc index 0073877c..b7af0e1e 100644 --- a/config/lightsquid/lightsquid.inc +++ b/config/lightsquid/lightsquid.inc @@ -33,7 +33,10 @@ require_once('pfsense-utils.inc'); require_once('pkg-utils.inc'); require_once('filter.inc'); require_once('service-utils.inc'); -require_once('squid.inc'); + +if (file_exists('squid.inc')) { + require_once('squid.inc'); +} $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); switch ($pfs_version) { |