diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/varnish3/varnish.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/varnish3/varnish.inc b/config/varnish3/varnish.inc index 50b37990..5df8052b 100644 --- a/config/varnish3/varnish.inc +++ b/config/varnish3/varnish.inc @@ -35,7 +35,7 @@ $shortcut_section = "varnish"; $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); -if (is_dir('/usr/pbi/varnish-' . php_uname("m"))) { +if ($pfs_version == "2.1" || $pfs_version == "2.2") { define('VARNISH_LOCALBASE', '/usr/pbi/varnish-' . php_uname("m")); } else { define('VARNISH_LOCALBASE','/usr/local'); |