122 lines
4.8 KiB
PHP
122 lines
4.8 KiB
PHP
<?
|
|
|
|
////////////////////////////////////////////////
|
|
////
|
|
//// GEOGLOBAL.PHP
|
|
////
|
|
//// map&guide iNET Server
|
|
////
|
|
//// (C) 2003 MAP&GUIDE GmbH
|
|
//// Last Change: Februrary 2003
|
|
//// Support: als.support@mapandguide.com
|
|
////
|
|
////////////////////////////////////////////////
|
|
|
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
// DETAILED CONFIGURATION INFO FOR EACH SERVER
|
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
// ALS_LIST_<MAP>_<FRONTEND_LANGUAGE>
|
|
// = list of iNET server that are available for this combination of
|
|
// map and frontend language
|
|
// Please note that the map language is not included in this variable
|
|
//
|
|
// syntax of the list:
|
|
// <NAME1>,<IP or NAMEOFHOST>,<PORT>,<ACTIVE=1, INACTIVE=0>^
|
|
//
|
|
// example: two iNET server
|
|
// "inet1,mapmachine1,2000,1^inet2,23.24.25.26,2001,1"
|
|
|
|
// name of the map used D7=Germany City, EU7= Europe City
|
|
$Application["MAP"]="D7";
|
|
|
|
// List of MAPS x FRONTEND_LANGUAGE. Yo can define multiple servers
|
|
$Application["ALS_LIST_D7_D"] ="test,localhost,2001,0^als0,localhost,2000,1";
|
|
$Application["ALS_LIST_D7_F"] ="test,localhost,2001,0^als0,localhost,2000,1";
|
|
$Application["ALS_LIST_D7_I"] ="test,localhost,2001,0^als0,localhost,2000,1";
|
|
$Application["ALS_LIST_D7_E"] ="test,localhost,2001,0^als0,localhost,2000,1";
|
|
$Application["ALS_LIST_D7_GB"]="test,localhost,2001,0^als0,localhost,2000,1";
|
|
$Application["ALS_LIST_D7_NL"]="test,localhost,2001,0^als0,localhost,2000,1";
|
|
|
|
// The variable map can only be used in case of one map
|
|
// If multiple maps (maybe with multiple languages) are used, please
|
|
// refer to the documentation concerning "internationalization"
|
|
|
|
// name of the address layer used. The varta address layer is preinstalled with
|
|
// the server and the sample SQL code is installed in the databases directory
|
|
$Application["DATABASE"]="Varta";
|
|
|
|
// list of fields to be retrieved from the server or the database for radius search
|
|
$Application["RETURNFIELDS"]="ID,Hauptort,Sterne,Kronen,Name";
|
|
|
|
// list of fields to be retrieved from the server or the database for a detailed view
|
|
$Application["RETURNFIELDS_DETAIL"]="ID,Hauptort,Sterne,Kronen,Name";
|
|
|
|
// please indicate the path to the directory where the PHP classes are located
|
|
// $Application['OBJECT_BASE']="D:/dev/Apache/Apache/htdocs/mgobjects/";
|
|
$Application['OBJECT_BASE']="D:/Projekte/htdocs/phoenix/geo/mgobjects/";
|
|
// $Application['OBJECT_BASE']="D:/Projekte/htdocs/mgweb/PHP/mgobjects/";
|
|
|
|
// path to the directory where the server writes the generated GIFs to in case
|
|
// streaming is not used
|
|
// $Application["MAP_PATH"]='D:/dev/Apache/Apache/htdocs/tmp';
|
|
$Application["MAP_PATH"]='D:/mgtmp';
|
|
|
|
//######################################################
|
|
|
|
// ALS_URL describes the URL to the virtual directory which includes
|
|
// the generated GIFs in case streaming is not used. Please don't forget
|
|
// the trailing slash "/"
|
|
$Application["ALS_URL"]="http://localhost:81/tmp/";
|
|
$Application["ALS_FILE"]="als9php";
|
|
|
|
// The ALS_BITMAP_PATH is a path on your harddisk on which the map
|
|
// server (iNET server) is installed and contains bitmaps you want to
|
|
// be drawn in map
|
|
// $Application["ALS_BITMAP_PATH"]="d:\images\\";
|
|
$Application["ALS_BITMAP_PATH"]="d:\mgtmp\\";
|
|
|
|
// DB_PATH points to the directory on the webserver where your database
|
|
// is located on which the nextsearch is performed
|
|
// this path is normally irrelevant to PHP user
|
|
// $Application["DB_PATH"]="d:\\databases\\";
|
|
$Application["DB_PATH"]="D:\\Projekte\htdocs\phoenix\geo\database\\";
|
|
|
|
|
|
// COM_LOG enables the logging of the PHP objects. This is useful
|
|
// during the development
|
|
$Application["COM_LOG"]=false;
|
|
// $Application["COM_LOG"]=true;
|
|
|
|
// COM_LOG_FILE defines the file where the PHP objects log is written to.
|
|
// It's a file located on the webserver. This is only interesting during dev.
|
|
// $Application["COM_LOG_FILE"]="c:/php_mgg_class.log";
|
|
$Application["COM_LOG_FILE"]="D:/Projekte/htdocs/phoenix/geo/php_mgg_class.log";
|
|
|
|
// the MAP_WIDTH and MAP_HEIGHT variables define the size of the map
|
|
$Application["MAP_WIDTH"]=400;
|
|
$Application["MAP_HEIGHT"]=400;
|
|
|
|
// NAV_BAR_WIDTH defines the width of the grey navigation
|
|
// bar around the map.
|
|
$Application["nav_bar_width"]=10;
|
|
$Application["nav_bar_height"]=10;
|
|
$Application["map_width"]=$Application["MAP_WIDTH"];
|
|
$Application["map_height"]=$Application["MAP_HEIGHT"];
|
|
// Database Settings (used for MySQL connection)
|
|
$Application["DB_HOST"]="localhost:3306";
|
|
$Application["DB_USER"]="";
|
|
$Application["DB_PASS"]="";
|
|
$Application["DB_NAME"]="varta";
|
|
|
|
// you can disable the crosshair in the sample applications l2 and l3 in setting
|
|
// this parameter to true
|
|
$Application["DISABLE_CROSSHAIR"]=false;
|
|
|
|
// internal value for TCP/IP communication. You shouldn't change this value
|
|
$Application["SEPARATOR"]="'^'";
|
|
|
|
// global variable
|
|
$GlobalResultList=0;
|
|
|
|
?>
|