Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| 426 |
################################### |
################################### |
| 427 |
|
|
| 428 |
|
|
| 429 |
$this->mosConfig_lang = mosGetParam($_POST, 'user_lang', $this->mosConfig_lang); |
$this->mosConfig_locale = mosGetParam($_POST, 'lang', $this->mosConfig_locale); |
| 430 |
|
|
| 431 |
|
$language =& new mamboLanguage($this->mosConfig_locale, $this->rootPath.'/language/'); |
|
$language =& new mamboLanguage($this->mosConfig_lang, $this->rootPath.'/language/'); |
|
| 432 |
$languages = $language->getLanguages(); |
$languages = $language->getLanguages(); |
| 433 |
$charset = $language->get('charset'); |
$charset = $language->get('charset'); |
| 434 |
$dateformat = $language->get('dateformat'); |
$dateformat = $language->get('dateformat'); |
| 435 |
|
$this->mosConfig_lang = $language->get('lang'); |
| 436 |
$this->current_language = $language; |
$this->current_language = $language; |
| 437 |
if (!defined('_ISO')) DEFINE('_ISO','charset='.$charset); |
if (!defined('_ISO')) DEFINE('_ISO','charset='.$charset); |
| 438 |
if (!defined('_DATE_FORMAT_LC')) DEFINE('_DATE_FORMAT_LC', $dateformat); //Uses PHP's strftime Command Format |
if (!defined('_DATE_FORMAT_LC')) DEFINE('_DATE_FORMAT_LC', $dateformat); //Uses PHP's strftime Command Format |
|
|
Legend:
| Removed from v.860 |
|
| changed lines |
| |
Added in v.861 |
|
|

Web Hosting provided by Network
Redux.