From 127f1d316cfb83d3fb571d856e6dc32ff5b84323 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Sun, 24 Dec 2006 23:02:51 +0000 Subject: Allow setting maxium object size to 0 so we can prevent disk caching and run embedded. --- packages/squid/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 7640ff39..dffcf15d 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -249,7 +249,7 @@ function squid_validate_cache($post, $input_errors) { ); foreach ($num_fields as $field => $name) { $value = trim($post[$field]); - if (!is_numeric($value) || ($value < 1)) + if (!is_numeric($value) || ($value < 0)) $input_errors[] = "You must enter a valid value for '$field'"; } -- cgit v1.2.3