BMLT Root Server
Variables
comdef-config.inc.php File Reference

The basic configuration file for a CoMDEF server. More...

Go to the source code of this file.

Variables

 defined ('BMLT_COOKIE') or define('BMLT_COOKIE'
 
global $comdef_global_language = "en"
 The local server language enum (Will default to English) More...
 
global $comdef_global_languages = array ()
 This is an array of all available languages. More...
 
global $comdef_global_more_details_address = '@@%%location_text%%, @@%%location_street%%@@ (%%location_info%%)@@, %%location_city_subsection%%@@, %%location_municipality%%@@ (%%location_neighborhood%%)@@, %%location_province%%@@ %%location_postal_code_1%%'
 This is a format string for the way the address line is displayed in the "more details" screen. More...
 
global $comdef_global_list_address = '@@%%location_text%%, @@%%location_street%% @@%%location_info%%'
 The same, but for the list. More...
 
global $comdef_map_radius_ranges
 
global $_COMDEF_DEBUG = false
 This flag, when set to true, will cause extra debug information to be output. More...
 
if(file_exists(dirname(__FILE__)."/get-config.php")) else
 Include the automatically generated configuration. More...
 

Detailed Description

The basic configuration file for a CoMDEF server.

Definition in file comdef-config.inc.php.

Variable Documentation

$_COMDEF_DEBUG = false
$comdef_global_language = "en"
$comdef_global_languages = array ()

This is an array of all available languages.

Definition at line 12 of file comdef-config.inc.php.

$comdef_global_list_address = '@@%%location_text%%, @@%%location_street%% @@%%location_info%%'

The same, but for the list.

Definition at line 14 of file comdef-config.inc.php.

Referenced by c_comdef_server\GetLocalStrings().

if ($handle=opendir(dirname(__FILE__).'/../../local_server/server_admin/lang')) $comdef_global_more_details_address = '@@%%location_text%%, @@%%location_street%%@@ (%%location_info%%)@@, %%location_city_subsection%%@@, %%location_municipality%%@@ (%%location_neighborhood%%)@@, %%location_province%%@@ %%location_postal_code_1%%'

This is a format string for the way the address line is displayed in the "more details" screen.

Uncomment this for debug mode. We scan through the "lang" directory, and pick out the available localizations. These will be kept in the comdef_global_languages array.

Definition at line 13 of file comdef-config.inc.php.

Referenced by c_comdef_server\GetLocalStrings().

$comdef_map_radius_ranges
Initial value:
= array ( 0.0625, 0.125, 0.1875, 0.25, 0.4375, 0.5, 0.5625, 0.75, 0.8125, 1.0,
1.25, 1.5, 1.75, 2.0, 2.25, 2.5, 2.75, 3.0, 3.25, 3.5, 3.75, 4.0, 4.25, 4.5, 4.75, 5.0,
5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0,
11.0, 12.0, 13.0, 14.0, 15.0,
17.5, 20.0, 22.5, 25.0, 27.5, 30.0,
35.0, 40.0, 45.0, 50.0,
60.0, 70.0, 80.0, 90.0, 100.0,
150, 200 )

Definition at line 17 of file comdef-config.inc.php.

Referenced by c_comdef_server\GetLocalStrings().

defined('_LANG_COOKIE_NAME') or define('_LANG_COOKIE_NAME'

Definition at line 7 of file comdef-config.inc.php.

if (file_exists(dirname(__FILE__)."/get-config.php")) else
Initial value:
{
throw ( new Exception("No get-config.php file!") )

Include the automatically generated configuration.

Definition at line 60 of file comdef-config.inc.php.