diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-10 18:38:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-10 18:38:47 +0000 |
commit | 8af189197ebdfb972514de822627a6072534b420 (patch) | |
tree | 96200f792cc6b1917776ae51fb76365c82afa570 /includes/common.inc | |
parent | 02e344403ac2b9c3eeadc86ff2853eda6dd90959 (diff) | |
download | brdo-8af189197ebdfb972514de822627a6072534b420.tar.gz brdo-8af189197ebdfb972514de822627a6072534b420.tar.bz2 |
- fixed "AdNewz.com" vs "ADNEWS.COM" glitch reported by Peter Beckman
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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, ".")); } |