[Mapbender-commits] r2935 - branches/beck_dev/conf
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 15 06:59:36 EDT 2008
Author: beck
Date: 2008-09-15 06:59:35 -0400 (Mon, 15 Sep 2008)
New Revision: 2935
Added:
branches/beck_dev/conf/mapbender.conf
Log:
Added: branches/beck_dev/conf/mapbender.conf
===================================================================
--- branches/beck_dev/conf/mapbender.conf (rev 0)
+++ branches/beck_dev/conf/mapbender.conf 2008-09-15 10:59:35 UTC (rev 2935)
@@ -0,0 +1,161 @@
+<?php
+# $Id: mapbender.conf-dist 2934 2008-09-15 10:52:12Z beck $
+# http://www.mapbender.org/index.php/Mapbender.conf
+# Copyright (C) 2002 CCGIS
+
+# --------------------------------------------
+# type of mapbender database
+# --------------------------------------------
+
+
+#define("SYS_DBTYPE", "mysql");
+define("SYS_DBTYPE", "pgsql");
+
+# --------------------------------------------
+# database information
+# --------------------------------------------
+
+if(SYS_DBTYPE=="mysql")
+{
+ define("DBSERVER", "<HOST>");
+ define("PORT", "3306");
+ define("DB", "<database>");
+ define("OWNER", "<owner>");
+ define("PW", "<password>");
+
+ # --------------------------------------------
+ # database with geos functions
+ # --------------------------------------------
+
+ define("GEOS_DBSERVER", "<HOST>");
+ define("GEOS_PORT", "5432");
+ define("GEOS_DB", "<database with geos functions>");
+ define("GEOS_OWNER", "<owner>");
+ define("GEOS_PW", "<password>");
+
+}
+else {
+ define("DBSERVER", "localhost");
+ define("PORT", "5432");
+ define("DB", "entw_mapbender_beck_dev");
+ define("OWNER", "postgres");
+ define("PW", "postgres");
+}
+
+# --------------------------------------------
+# 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/entw/mapbender/branches/beck_dev/http/frames/login.php");
+define("MAXLOGIN", 100);
+$login = LOGIN;
+
+# --------------------------------------------
+# URL to owsproxy
+# (no terminating slash)
+# --------------------------------------------
+
+define("OWSPROXY", "http://<ip or name>/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>");
+
+# --------------------------------------------
+# security: path to modules
+# --------------------------------------------
+
+define("CHECK", false);
+
+# --------------------------------------------
+# 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", 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;
+?>
\ No newline at end of file
More information about the Mapbender_commits
mailing list