Changeset 949

Show
Ignore:
Timestamp:
10/12/05 20:43:39 (3 years ago)
Author:
mbonetti
Message:

allow to override the locale (in rss_extra, for example)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/init.php

    r888 r949  
    120120 
    121121// Load the right locale 
    122 if (isset($_SERVER["WINDIR"]) && defined("LOCALE_WINDOWS")) { 
     122if (defined('OVERRIDE_LOCALE')) { 
     123    setlocale(LC_TIME,constant("OVERRIDE_LOCALE")); 
     124} elseif (isset($_SERVER["WINDIR"]) && defined("LOCALE_WINDOWS")) { 
    123125    setlocale(LC_TIME,constant("LOCALE_WINDOWS")); 
    124126} elseif (defined("LOCALE_LINUX")) {