[Mapbender-commits] r6537 - trunk/build/osgeolive

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Jul 3 12:36:29 EDT 2010


Author: uli
Date: 2010-07-03 16:36:29 +0000 (Sat, 03 Jul 2010)
New Revision: 6537

Added:
   trunk/build/osgeolive/mapbender.conf
Log:


Added: trunk/build/osgeolive/mapbender.conf
===================================================================
--- trunk/build/osgeolive/mapbender.conf	                        (rev 0)
+++ trunk/build/osgeolive/mapbender.conf	2010-07-03 16:36:29 UTC (rev 6537)
@@ -0,0 +1,140 @@
+<?php
+# $Id: mapbender.conf-dist 6256 2010-06-10 16:15:21Z tbaschetti $
+# http://www.mapbender.org/index.php/Mapbender.conf
+# Copyright (C) 2002 CCGIS 
+ 
+# --------------------------------------------
+# type of mapbender database
+# --------------------------------------------
+
+
+define("SYS_DBTYPE", "pgsql");
+
+# --------------------------------------------
+# database information
+# --------------------------------------------
+
+define("DBSERVER", "localhost");
+define("PORT", "5432");
+define("DB", "mapbender");
+define("OWNER", "user");
+define("PW", "user");
+
+# --------------------------------------------
+# 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", 100);
+$login = LOGIN;
+
+# --------------------------------------------
+# URL to owsproxy
+# (no terminating slash)
+# --------------------------------------------
+
+define("OWSPROXY", "http://localhost/owsproxy");
+
+# --------------------------------------------
+# 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>");
+
+# --------------------------------------------
+# HOSTs not for Proxy (curl)
+# --------------------------------------------
+define("NOT_PROXY_HOSTS", "<ip>,<ip>,<ip>");
+
+# --------------------------------------------
+# 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", "<host>");
+define("MAILUSERNAME", "<user>");
+define("MAILPASSWORD", "<password>");
+define("MAILADMIN", "<mailaddress of the mailadmin>");
+define("MAILADMINNAME", "<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", true);  // 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"
+
+###HACK for GLOBALS
+$DBSERVER=DBSERVER;
+  $DB=DB;
+  $OWNER=OWNER;
+  $PW=PW;
+  
+
+?>



More information about the Mapbender_commits mailing list