Show
Ignore:
Timestamp:
10/16/06 06:31:35 (2 years ago)
Author:
mdodoo
Message:

Sync with trunk up to (but not including changeset [1585]). I should *definitely* do this more often, because this was really annoying.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/init.php

    r1479 r1604  
    114114//////////////////////////////////////////////////////////////////////////////// 
    115115// Localization 
    116 // 
     116_pf('Loading l10n...'); 
     117 
    117118require_once('cls/l10n.php'); 
    118 $GLOBALS['rssl10n'] = new RSSl10n('de_CH'); 
    119  
    120 $lang = getConfig('rss.output.lang'); 
    121 if (!preg_match('#^[a-zA-Z_]+$#', $lang)) { 
    122     die('woopsie, bad lang: ' .$lang); 
    123 } 
    124 if ($lang && file_exists(dirname(__FILE__) . "/" . "intl/$lang.php")) { 
    125     rss_require("intl/$lang.php"); 
    126 } else { 
    127     rss_require('intl/en.php'); 
    128 } 
     119$GLOBALS['rssl10n'] = new RSSl10n(); 
     120$lang = $GLOBALS['rssl10n']->getLocale(); 
     121_pf('done'); 
    129122 
    130123// Theme  specific l10n handling 
     
    144137} 
    145138 
    146  
     139/* 
    147140// Load the right locale 
    148141if (defined('OVERRIDE_LOCALE')) { 
     
    164157    } 
    165158} 
    166  
     159*/ 
    167160 
    168161