Variables
comdef-config.inc.php File Reference

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

Variables

 defined ( 'BMLT_COOKIE') or define( 'BMLT_COOKIE'
global $comdef_global_language = "en"
 The local server language enum (Will default to English)
global $comdef_global_languages = array ()
 This is an array of all available languages.
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.
global $comdef_global_list_address = '@@%%location_text%%, @@%%location_street%% @@%%location_info%%'
 The same, but for the list.
global $_COMDEF_DEBUG = false
 This flag, when set to true, will cause extra debug information to be output.

Detailed Description

The basic configuration file for a CoMDEF server.


Variable Documentation

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

This is an array of all available languages.

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

The same, but for the list.

Referenced by c_comdef_server::GetLocalStrings().

if ($handle=opendir(dirname(__FILE__).'/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.

Referenced by c_comdef_server::GetLocalStrings().

defined( 'BMLT_COOKIE') or define( 'BMLT_COOKIE'
 All Classes Files Functions Variables Enumerations