aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/squid-reverse/squid.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index f9cca8a0..df171137 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -271,10 +271,12 @@ function squid_deinstall_command() {
}
function squid_before_form_general($pkg) {
- $values_raw = get_dir(SQUID_CONFBASE . '/errors/');
- // Get rid of '..' and '.' and ...
- $values = array_diff ($values_raw, array('.','..','COPYRIGHT','TRANSLATORS'));
- sort($values);
+ $values = get_dir(SQUID_CONFBASE . '/errors/');
+ // Get rid of '..' and '.'
+ array_shift($values);
+ array_shift($values);
+ array_shift($values);
+ array_shift($values);
$name = array();
foreach ($values as $value)