aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/squid3/34/squid_cache.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/squid3/34/squid_cache.xml b/config/squid3/34/squid_cache.xml
index 47471df9..b4f1aedf 100755
--- a/config/squid3/34/squid_cache.xml
+++ b/config/squid3/34/squid_cache.xml
@@ -42,8 +42,8 @@
]]>
</copyright>
<name>squidcache</name>
- <version>0.4.0</version>
- <title>Proxy Server: Cache management</title>
+ <version>0.4.1</version>
+ <title>Proxy Server: Cache Management</title>
<include_file>/usr/local/pkg/squid.inc</include_file>
<tabs>
<tab>
@@ -410,7 +410,9 @@
// do not leave orphaned cachedirs if harddisk_cache_location changed
if ($_POST['harddisk_cache_location'] != $config['installedpackages']['squidcache']['config'][0]['harddisk_cache_location']) {
$oldcachedir = $config['installedpackages']['squidcache']['config'][0]['harddisk_cache_location'];
- $cachedir_changed = true;
+ if ($oldcachedir != "") {
+ $cachedir_changed = true;
+ }
}
]]>
</custom_php_command_before_form>