From 8af189197ebdfb972514de822627a6072534b420 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 10 Mar 2001 18:38:47 +0000 Subject: - fixed "AdNewz.com" vs "ADNEWS.COM" glitch reported by Peter Beckman --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 25fa725aa..b2fbe735e 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -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, ".")); } -- cgit v1.2.3