aboutsummaryrefslogtreecommitdiff
path: root/www/inc/l10nget.inc.php
diff options
context:
space:
mode:
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2005-11-25 22:44:18 +0000
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2005-11-25 22:44:18 +0000
commit6429a6080db982bcb37421d9735e25cfec25acec (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /www/inc/l10nget.inc.php
parent763233dc3b53ed8e10abf9c050a26e870bd598e6 (diff)
downloadoriginal-6429a6080db982bcb37421d9735e25cfec25acec.tar.gz
original-6429a6080db982bcb37421d9735e25cfec25acec.tar.bz2
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@7 4fa712ea-3c06-0410-9261-c11b4c06c003
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";
- }
-}
-?>