aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2012-03-27 22:27:33 +0200
committerMartin Fuchs <martin.fuchs@trendchiller.com>2012-03-27 22:29:09 +0200
commit441f20ac6b42a3556007df6f4f4127cc735da190 (patch)
tree6e829d1ba4fcc5f1a06932783a98c7cd166fd7f2 /config
parentd8e4fb6e9ccce6d741e1d01f07a3963ee31a1c11 (diff)
downloadpfsense-packages-441f20ac6b42a3556007df6f4f4127cc735da190.tar.gz
pfsense-packages-441f20ac6b42a3556007df6f4f4127cc735da190.tar.bz2
pfsense-packages-441f20ac6b42a3556007df6f4f4127cc735da190.zip
fix error pages default language
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)