BAOBAB
common.inc.php
Go to the documentation of this file.
1 <?php
2 /***************************************************************************************************************************/
26 defined( 'LGV_LANG_CATCHER' ) or die ( 'Cannot Execute Directly' ); // Makes sure that this file is in the correct context.
27 
28 global $g_lang_override; // This allows us to override the configured language at initiation time.
29 
30 if (isset($g_lang_override) && $g_lang_override && file_exists(dirname(__FILE__).'/'.$lang.'.php')) {
32 } else {
34 }
35 
36 $lang_file = CO_Config::chameleon_lang_class_dir().'/'.$lang.'.php';
37 $lang_common_file = CO_Config::chameleon_lang_class_dir().'/common.inc.php';
38 
39 require_once(dirname(__FILE__).'/'.$lang.'.php');
40 require_once($lang_file);
41 require_once($lang_common_file);
42 
43 /***************************************************************************************************************************/
56 }
57 ?>
if(!defined('LGV_ACCESS_CATCHER')) if(!defined( 'LGV_ANDISOL_CATCHER'))
static $cobra_error_code_user_already_exists
Definition: common.inc.php:50
static $cobra_error_code_invalid_chameleon
Definition: common.inc.php:49
static $cobra_error_code_token_id_not_set
Definition: common.inc.php:54
static $cobra_error_code_login_unavailable
Definition: common.inc.php:51
static $cobra_error_code_login_error
Definition: common.inc.php:52
static $cobra_error_code_instance_failed_to_initialize
Definition: common.inc.php:48
static $cobra_error_code_password_too_short
Definition: common.inc.php:55
static $cobra_error_code_token_instance_failed_to_initialize
Definition: common.inc.php:53
static $cobra_error_code_user_not_authorized
Definition: common.inc.php:47
$lang_file
Definition: common.inc.php:36
global $g_lang_override
Definition: common.inc.php:29
$lang_common_file
Definition: common.inc.php:37