Changeset 58


Ignore:
Timestamp:
12/14/10 16:18:28 (10 years ago)
Author:
astrid.emde
Message:
  • Einbindung der conf über alkis_con_location
  • Definition der DB in der conf-Datei
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/var/www/info/alkis/alkisausk.php

    r49 r58  
    2020ini_set('error_reporting', 'E_ALL'); 
    2121session_start(); 
    22 require_once("/data/conf/alkis_www_conf.php"); 
     22$gkz=urldecode($_REQUEST["gkz"]); 
     23require_once(dirname(__FILE__)."../alkis_conf_location.php"); 
    2324if ($auth == "mapbender") { 
    2425        // Bindung an Mapbender-Authentifizierung 
     
    4546<?php 
    4647$gmlid = isset($_GET["gmlid"]) ? $_GET["gmlid"] : 0; 
    47 $gkz=urldecode($_REQUEST["gkz"]); 
     48 
    4849$id = isset($_GET["id"]) ? $_GET["id"] : "n"; 
    4950if ($id == "j") { 
     
    5859        $showkey=false; 
    5960} 
    60 $dbname = 'alkis05' . $gkz; 
     61 
    6162$con = pg_connect("host=".$dbhost." port=".$dbport." dbname=".$dbname." user=".$dbuser." password=".$dbpass); 
    6263if (!$con) {echo "<br>Fehler beim Verbinden der DB.\n<br>";} 
Note: See TracChangeset for help on using the changeset viewer.