- added port + directory patch for loading configuration files

3-00
Dries Buytaert 2001-01-26 10:03:59 +00:00
parent f162723fe4
commit abe57bbb42
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<?
include_once "includes/". getenv("HTTP_HOST") .".conf";
$cf = strtr($HTTP_HOST ."". substr($REQUEST_URI, 0, strrpos($REQUEST_URI, "/")), "/:", "..");
include_once "includes/$cf.conf";
include_once "includes/database.inc";
include_once "includes/watchdog.inc";
include_once "includes/function.inc";