<?php
  // globale Variable, nur waehrend der Entwicklungszeit relevant
  // z.B. zu Ein-/Ausschalten von noch nicht fertiggestellter
  // Funktionalitaet

  $show_login_box     = false; // Login anzeigen/nicht anzeigen
  $registry_available = false; // Registrierung verfuegbar

  // default settings
  // settings for www.ibr-online.de
  $website_prefix  = "http://www.ibr-online.de";  
  $secure_prefix   = "https//xxx.yyy.zz";
  $path_to_docroot = "/www_home/ibr-online/public_html";
  $db       = "ibronline";
  $dbhost   = "w2.pcserve.de";
  $dbuser   = "ibr-online";
  $dbpasswd = "TuKh99";

  $HTTP_HOST = getenv("HTTP_HOST");

  // settings for home.ibr-online.de hosted by defiant
  if ($HTTP_HOST=="home.ibr-online.de") {
     $website_prefix  = "http://home.ibr-online.de";
     $secure_prefix   = "https//xxx.yyy.zz";
     $path_to_docroot = "/opt/websites/ibr-online/public_html";
     $db       = "ibr-online";
     $dbhost   = "localhost";
     $dbuser   = "ibr-online";
     $dbpasswd = "TuKh99";   
  }

  // settings for w2.id-verlag.de hosted by w4.pcserve.de
  if ($HTTP_HOST=="w2.id-verlag.de") {
     $website_prefix  = "http://w2.id-verlag.de";
     $secure_prefix   = "https//xxx.yyy.zz";
     $path_to_docroot = "/www_home/ibr-online/public_html";
     $db       = "ibronline";
     $dbhost   = "w2.pcserve.de";
     $dbuser   = "ibr-online";
     $dbpasswd = "TuKh99";
  } 

  include("$path_to_docroot/lib/utils.inc.php"); 
  ecs_dbconnect(); // auf Verdacht eine DB-Connection etablieren
?>
