aboutsummaryrefslogtreecommitdiff
path: root/www/inc/l10nget.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/inc/l10nget.inc.php')
-rw-r--r--www/inc/l10nget.inc.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/www/inc/l10nget.inc.php b/www/inc/l10nget.inc.php
deleted file mode 100644
index f04b18c..0000000
--- a/www/inc/l10nget.inc.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-function get_lang_from_agent($accept) {
-
- $acceptarr = explode("," , $accept);
- foreach ($acceptarr as $lang) {
- //get rid of trailing garbage
- $lang = ereg_replace("^(.*)\;.*","\\1", $lang);
- if (is_dir("l10n/$lang")) {
- return $lang;
- exit;
- }
- //no translation for accept language
- return "en";
- }
-}
-?>