Diff of /mambo/branches/4.6/index.php
Parent Directory
|
Revision Log
|
Patch
| revision 183, Wed Jan 25 21:36:13 2006 UTC | revision 184, Wed Jan 25 23:36:12 2006 UTC | |
|---|---|---|
| # | Line 175 | Line 175 |
| 175 | $this->set('mosConfig_charset', 'iso-8859-1');/*'utf-8'* / | $this->set('mosConfig_charset', 'iso-8859-1');/*'utf-8'* / |
| 176 | } | } |
| 177 | ||
| 178 | /**/ | |
| 179 | $language_file = "$this->mosConfig_absolute_path/language/$this->mosConfig_lang.php"; | /*$language_file = "$this->mosConfig_absolute_path/language/$this->mosConfig_lang.php"; |
| 180 | if (file_exists($language_file)) require_once ($language_file); | if (file_exists($language_file)) require_once ($language_file); |
| 181 | error_reporting(0); | error_reporting(0); |
| 182 | set_error_handler('error_handler'); | set_error_handler('error_handler');*/ |
| 183 | $domain = $this->mosConfig_lang; | $domain = $this->mosConfig_lang; |
| 184 | $textdomain = $this->mosConfig_absolute_path.'/language'; | $textdomain = $this->mosConfig_absolute_path.'/language'; |
| 185 | $gettext =& phpgettext(); | $gettext =& phpgettext(); |
| 186 | $gettext->debug = 1; | $gettext->debug = 0; |
| 187 | $gettext->has_gettext = 0; | $gettext->has_gettext = 0; |
| 188 | $gettext->setlocale($this->mosConfig_lang);; | $gettext->setlocale($this->mosConfig_lang);; |
| 189 | $gettext->bindtextdomain($domain, $textdomain); | $gettext->bindtextdomain($domain, $textdomain); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

