From 43e964fbbda58e4b8be0920ea01dd3f72aec4d9b Mon Sep 17 00:00:00 2001 From: Sergey Dvoriancev Date: Wed, 31 Oct 2012 21:03:19 +0400 Subject: Update config/lightsquid/lightsquid.inc Fix squid.inc include --- config/lightsquid/lightsquid.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/lightsquid') 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) { -- cgit v1.2.3