Changeset 1583
- Timestamp:
- 09/15/06 22:36:49 (2 years ago)
- Location:
- trunk/gregarius
- Files:
-
- 2 modified
-
cls/l10n.php (modified) (1 diff)
-
init.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/l10n.php
r1580 r1583 35 35 var $locale; 36 36 37 function RSSl10n( $locale) {37 function RSSl10n() { 38 38 $this -> locale = preg_replace('#[^a-zA-Z_]#','',$this -> __detectUserLang()); 39 39 if (function_exists('version_compare') && version_compare("4.3.0",PHP_VERSION, "<=") && preg_match('#([a-z]{2})_([A-Z]{2})#',$this -> locale,$m)) { -
trunk/gregarius/init.php
r1582 r1583 117 117 118 118 require_once('cls/l10n.php'); 119 $GLOBALS['rssl10n'] = new RSSl10n( null);119 $GLOBALS['rssl10n'] = new RSSl10n(); 120 120 $lang = $GLOBALS['rssl10n']->getLocale(); 121 121 _pf('done');
