| 417 |
require_once($this->mosConfig_absolute_path.'/includes/phpgettext/error.php'); |
require_once($this->mosConfig_absolute_path.'/includes/phpgettext/error.php'); |
| 418 |
require_once($this->mosConfig_absolute_path.'/includes/mambofunc.php'); |
require_once($this->mosConfig_absolute_path.'/includes/mambofunc.php'); |
| 419 |
require_once($this->mosConfig_absolute_path.'/includes/mambolanguage.class.php'); |
require_once($this->mosConfig_absolute_path.'/includes/mambolanguage.class.php'); |
|
#error_reporting(E_ALL) ; |
|
|
########## DEPRECATED ############ |
|
|
if (isset($this->mosConfig_lang) AND $this->mosConfig_lang); |
|
|
else $this->set('mosConfig_lang', 'english'); |
|
|
$language_file = "$this->mosConfig_absolute_path/language/$this->mosConfig_lang.php"; |
|
|
if (file_exists($language_file)) require_once ($language_file); |
|
|
else require_once ("$this->mosConfig_absolute_path/language/english.php"); |
|
|
################################### |
|
|
|
|
|
|
|
| 420 |
$this->mosConfig_locale = mosGetParam($_POST, 'lang', $this->mosConfig_locale); |
$this->mosConfig_locale = mosGetParam($_POST, 'lang', $this->mosConfig_locale); |
| 421 |
|
|
| 422 |
$language =& new mamboLanguage($this->mosConfig_locale, $this->rootPath.'/language/'); |
$language =& new mamboLanguage($this->mosConfig_locale, $this->rootPath.'/language/'); |
| 429 |
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 |
| 430 |
if (!defined('_DATE_FORMAT_LC2')) DEFINE('_DATE_FORMAT_LC2', $dateformat); |
if (!defined('_DATE_FORMAT_LC2')) DEFINE('_DATE_FORMAT_LC2', $dateformat); |
| 431 |
|
|
| 432 |
|
#error_reporting(E_ALL) ; |
| 433 |
|
########## DEPRECATED ############ |
| 434 |
|
if (isset($this->mosConfig_lang) AND $this->mosConfig_lang); |
| 435 |
|
else $this->set('mosConfig_lang', 'english'); |
| 436 |
|
$language_file = "$this->mosConfig_absolute_path/language/$this->mosConfig_lang.php"; |
| 437 |
|
if (file_exists($language_file)) require_once ($language_file); |
| 438 |
|
else require_once ("$this->mosConfig_absolute_path/language/english.php"); |
| 439 |
|
################################### |
| 440 |
|
|
| 441 |
|
|
| 442 |
|
|
| 443 |
|
|
| 444 |
} |
} |
| 445 |
|
|