Browse Source

Hopefully ignore when not set.

Nathaniel van Diepen 10 years ago
parent
commit
29dc898a0e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/locale.php

+ 1 - 1
lib/locale.php

@@ -1,5 +1,5 @@
 <?php
-	$locales = explode(',',$_SERVER["HTTP_ACCEPT_LANGUAGE"]);
+	@$locales = explode(',',$_SERVER["HTTP_ACCEPT_LANGUAGE"]);
 	$langs = scandir(DIR.'/lang');
 	$found = false;
 	foreach($locales as $k => $l){