- fixed "AdNewz.com" vs "ADNEWS.COM" glitch reported by Peter Beckman

3-00
Dries Buytaert 2001-03-10 18:38:47 +00:00
parent 02e344403a
commit 8af189197e
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
function conf_init() {
global $HTTP_HOST, $REQUEST_URI;
$file = strtr($HTTP_HOST ."". substr($REQUEST_URI, 0, strrpos($REQUEST_URI, "/")), "/:", "..");
$file = strtolower(strtr($HTTP_HOST ."". substr($REQUEST_URI, 0, strrpos($REQUEST_URI, "/")), "/:", ".."));
while ($file && !file_exists("includes/$file.conf")) {
$file = substr($file, 0, strrpos($file, "."));
}