Skip to content
Browse files

fix error pages default language

  • Loading branch information...
1 parent d8e4fb6 commit 441f20ac6b42a3556007df6f4f4127cc735da190 Martin Fuchs committed Mar 27, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 config/squid-reverse/squid.inc
View
10 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)

0 comments on commit 441f20a

Please sign in to comment.
Something went wrong with that request. Please try again.