Show
Ignore:
Timestamp:
09/10/06 11:52:49 (2 years ago)
Author:
mbonetti
Message:

Locale selection in the admin, LC_ALL

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/init.php

    r1564 r1569  
    115115// Localization 
    116116// 
    117 require_once('cls/l10n.php'); 
    118 $GLOBALS['rssl10n'] = new RSSl10n(); 
    119  
    120  
    121117$lang = getConfig('rss.output.lang'); 
    122118if (!preg_match('#^[a-zA-Z_]+$#', $lang)) { 
    123119    die('woopsie, bad lang: ' .$lang); 
    124120} 
     121 
     122require_once('cls/l10n.php'); 
     123$GLOBALS['rssl10n'] = new RSSl10n($lang); 
     124 
     125 
    125126 
    126127if ($lang && file_exists(dirname(__FILE__) . "/" . "intl/$lang.php")) { 
     
    146147} 
    147148 
    148  
     149/* 
    149150// Load the right locale 
    150151if (defined('OVERRIDE_LOCALE')) { 
     
    166167    } 
    167168} 
    168  
     169*/ 
    169170 
    170171