"); define("PORT", "3306"); define("DB", ""); define("OWNER", ""); define("PW", ""); # -------------------------------------------- # database with geos functions # -------------------------------------------- define("GEOS_DBSERVER", ""); define("GEOS_PORT", "5432"); define("GEOS_DB", ""); define("GEOS_OWNER", ""); define("GEOS_PW", ""); } else { define("DBSERVER", ""); define("PORT", "5432"); define("DB", ""); define("OWNER", ""); define("PW", ""); } # -------------------------------------------- # prepared statements (PHP > 5.1.x, PostgreSQL > 7.4) # -------------------------------------------- define("PREPAREDSTATEMENTS",true); # -------------------------------------------- # encoding - default characterset UTF-8 / ISO-8859-1 # -------------------------------------------- define("CHARSET","UTF-8"); # -------------------------------------------- # error_reporting # -------------------------------------------- //ini_set('error_reporting', 'E_ALL & ~ E_NOTICE'); # -------------------------------------------- # directory for temporary files # -------------------------------------------- define("TMPDIR", "../tmp"); # -------------------------------------------- # URL to login # -------------------------------------------- define("LOGIN", "http://localhost/mapbender/frames/login.php"); define("MAXLOGIN", 3); $login = LOGIN; # -------------------------------------------- # URL to owsproxy # (no terminating slash) # -------------------------------------------- define("OWSPROXY", "http:///owsproxy"); # -------------------------------------------- # type of server-connection # curl, socket, http # -------------------------------------------- #define("CONNECTION", "curl"); define("CONNECTION", "http"); #define("CONNECTION", "socket"); define("CONNECTION_PROXY", ""); define("CONNECTION_PORT", ""); define("CONNECTION_USER", ""); define("CONNECTION_PASSWORD", ""); # -------------------------------------------- # security: path to modules # -------------------------------------------- define("CHECK", true); # -------------------------------------------- # enable/disable portal # -------------------------------------------- define("PORTAL", false); # -------------------------------------------- # mail settings for internal mapbender mails # smtp mailing # for further settings check 'class_administration.php' # please check phpmailer for more information # -------------------------------------------- define("USE_PHP_MAILING", "false"); define("MAILHOST", ""); define("MAILUSERNAME", ""); define("MAILPASSWORD", ""); define("MAILADMIN", ""); define("MAILADMINNAME", ""); $mailHost = MAILHOST; $mailUsername = MAILUSERNAME; $mailPassword = MAILPASSWORD; # -------------------------------------------- # wms monitoring # -------------------------------------------- define("AUTO_UPDATE", "0"); define("TIME_LIMIT", "300"); define("PHP_PATH", "/usr/local/bin/"); # -------------------------------------------- # Mapbender error logging # -------------------------------------------- define("LOG_LEVEL", "error"); //"off","error","warning","notice" or "all" define("LOG_JS", "on"); // "on", "alert", "console" or "off" # -------------------------------------------- # Internationalization # -------------------------------------------- define("USE_I18N", false); // requires gettext for PHP. // If "false", LANGUAGE is set to english define("LANGUAGE", "en"); // only available if USE_I18N is "true". // "en", "de", "bg", "gr", "nl", "it", es" ###HACK for GLOBALS $DBSERVER=DBSERVER; $DB=DB; $OWNER=OWNER; $PW=PW; $GEOS_DBSERVER=GEOS_DBSERVER; $GEOS_DB=GEOS_DB; $GEOS_PORT =GEOS_PORT; $GEOS_OWNER=GEOS_OWNER; $GEOS_PW=GEOS_PW; ?>