Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19871
Modified Files:
serendipity_lang.inc.php
Log Message:
Add danish in auto-detection
Index: serendipity_lang.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_lang.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- serendipity_lang.inc.php 21 Jan 2004 18:28:25 -0000 1.7
+++ serendipity_lang.inc.php 29 Feb 2004 01:40:57 -0000 1.8
@@ -10,7 +10,7 @@
} elseif ( IS_installed === false ) { /* -- Auto-Guess -- */
// If no config file is loaded, language includes are not available.
// Now include one. Try to auto-guess the language by looking up the HTTP_ACCEPT_LANGUAGE.
- $supported_languages = array('en', 'de', 'es');
+ $supported_languages = array('en', 'da', 'de', 'es');
$possible_languages = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
if (is_array($possible_languages)) {
foreach($possible_languages as $index => $lang) {
|