BAOBAB
common.inc.php
Go to the documentation of this file.
1
<?php
2
/***************************************************************************************************************************/
27
defined(
'LGV_LANG_CATCHER'
) or die ( 'Cannot Execute Directly' );
// Makes sure that this file is in the correct context.
28
29
global
$g_lang_override
;
// This allows us to override the configured language at initiation time.
30
31
if
(isset(
$g_lang_override
) &&
$g_lang_override
&& file_exists(dirname(__FILE__).'/'.
$lang
.'.php')) {
32
$lang
=
$g_lang_override
;
33
}
else
{
34
$lang
=
CO_Config::$lang
;
35
}
36
37
$lang_common_file
= CO_Config::cobra_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
/***************************************************************************************************************************/
46
class
CO_Basalt_Lang_Common
{
47
static
$basalt_error_code_user_not_authorized
= 3000;
48
}
49
?>
if
if(!defined('LGV_ACCESS_CATCHER')) if(!defined( 'LGV_ANDISOL_CATCHER'))
Definition:
co_basalt.class.php:35
$lang
$lang
Definition:
co_user_collection.class.php:31
CO_Basalt_Lang_Common
Definition:
common.inc.php:46
CO_Basalt_Lang_Common\$basalt_error_code_user_not_authorized
static $basalt_error_code_user_not_authorized
Definition:
common.inc.php:47
$lang_file
$lang_file
Definition:
common.inc.php:36
$g_lang_override
global $g_lang_override
Definition:
common.inc.php:29
$lang_common_file
$lang_common_file
Definition:
common.inc.php:37