Changeset 1569 for trunk/gregarius/init.php
- Timestamp:
- 09/10/06 11:52:49 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/init.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/init.php
r1564 r1569 115 115 // Localization 116 116 // 117 require_once('cls/l10n.php');118 $GLOBALS['rssl10n'] = new RSSl10n();119 120 121 117 $lang = getConfig('rss.output.lang'); 122 118 if (!preg_match('#^[a-zA-Z_]+$#', $lang)) { 123 119 die('woopsie, bad lang: ' .$lang); 124 120 } 121 122 require_once('cls/l10n.php'); 123 $GLOBALS['rssl10n'] = new RSSl10n($lang); 124 125 125 126 126 127 if ($lang && file_exists(dirname(__FILE__) . "/" . "intl/$lang.php")) { … … 146 147 } 147 148 148 149 /* 149 150 // Load the right locale 150 151 if (defined('OVERRIDE_LOCALE')) { … … 166 167 } 167 168 } 168 169 */ 169 170 170 171
