/owsproxy"); # -------------------------------------------- # Definitions for HTTP Authentication # -------------------------------------------- define('REALM', 'mapbender_registry'); define('NONCEKEY', 'mapbender'); $nonceLife = 300; define('HTTP_AUTH_PROXY',"https://".$_SERVER['HTTP_HOST']."/http_auth"); //Problem - behind a rewrite rule - define it hardcoded? # -------------------------------------------- # type of server-connection # curl, socket, http # -------------------------------------------- #define("CONNECTION", "curl"); define("CONNECTION", "http"); #define("CONNECTION", "socket"); define("CONNECTION_PROXY", ""); // ip define("CONNECTION_PORT", ""); // port define("CONNECTION_USER", ""); // user define("CONNECTION_PASSWORD", ""); // password define("CONNECTION_USERAGENT", "Mapbender"); # -------------------------------------------- # HOSTs not for Proxy (curl) # -------------------------------------------- define("NOT_PROXY_HOSTS", ",,"); # -------------------------------------------- # 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", "off"); // "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", "hu", "it", "es","fr","pt" # -------------------------------------------- # RSS # -------------------------------------------- define("GEO_RSS_FILE", "../tmp/georss.xml"); #--------------------------------------------- # PREVIEW #--------------------------------------------- define("PREVIEW_DIR", "../geoportal/preview"); # -------------------------------------------- # UPLOAD # -------------------------------------------- define("UPLOAD_DIR", "../tmp"); define("UPLOAD_WHITELIST_FILE_TYPES", ""); define("UPLOAD_BLACKLIST_FILE_TYPES", ""); define("UPLOAD_MAX_SIZE_KB", 2048); # -------------------------------------------- # use jQuery from Google CDN # -------------------------------------------- define("LOAD_JQUERY_FROM_GOOGLE", false); # -------------------------------------------- # define a public user # -------------------------------------------- define("PUBLIC_USER", ""); # -------------------------------------------- # define a session name (useful for ) # -------------------------------------------- #define("SESSION_NAME", "MAPBENDER"); # -------------------------------------------- # calculate bboxes for all supported SRS (Postgis needed) # -------------------------------------------- #define("SRS_ARRAY", "4326, 31466, 31467, 31468, 25832"); ###HACK for GLOBALS $DBSERVER=DBSERVER; $DB=DB; $OWNER=OWNER; $PW=PW; ?>