aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-reverse
diff options
context:
space:
mode:
Diffstat (limited to 'config/squid-reverse')
-rw-r--r--config/squid-reverse/squid.inc6
-rw-r--r--config/squid-reverse/squid_reverse.xml2
2 files changed, 7 insertions, 1 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index ffd17569..d0dad31d 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -485,6 +485,10 @@ function squid_validate_traffic($post, $input_errors) {
if (!is_numeric($value) || ($value > 100))
$input_errors[] = "The field 'Finish when remaining %' must contain a percentaged value";
}
+}
+
+function squid_validate_reverse($post, $input_errors) {
+
}
@@ -943,6 +947,8 @@ function squid_resync_reverse() {
$settings = $config['installedpackages']['squidreverse']['config'][0];
$conf = '';
+
+
return $conf;
}
diff --git a/config/squid-reverse/squid_reverse.xml b/config/squid-reverse/squid_reverse.xml
index c86410f5..93e1c595 100644
--- a/config/squid-reverse/squid_reverse.xml
+++ b/config/squid-reverse/squid_reverse.xml
@@ -223,7 +223,7 @@
squid_before_form_general(&$pkg);
</custom_php_command_before_form>
<custom_php_validation_command>
- squid_validate_general($_POST, &amp;$input_errors);
+ squid_validate_reverse($_POST, &amp;$input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
squid_resync_reverse();