+++ /dev/null
-<?php\r
-/**\r
- * Database Include\r
- * Handles all database functions required by the REST web services.\r
- *\r
- * @version v1.0 15 October 2007\r
- * @author Tobin Bradley\r
- * @license http://opensource.org/licenses/gpl-license.php GNU Public License\r
- * @package database.inc.php\r
- */\r
-\r
-# Note: Change line 23 to your PostgreSQL/PostGIS Server. \r
-\r
-\r
-\r
-/**\r
- * Return postgres data connection\r
- * @return object - adodb data connection\r
- *\r
- * Note! Change $conn->PConnect to your PostgreSQL/PostGIS server. The format is (<server>,<user name>,<passoword>,<database>).\r
- */\r
-function pgConnection() {\r
- require_once("adodb5/adodb.inc.php");\r
-\r
- $conn = ADONewConnection('postgres8'); \r
- $conn->PConnect('localhost','postgres','fv30714$A','edit_geo_mirror');\r
- $conn->SetFetchMode(ADODB_FETCH_ASSOC);\r
- return $conn;\r
-}\r
-\r
-\r
-?>\r