diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-08-08 09:22:01 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-08-08 09:22:01 +0000 |
commit | 876536a955b783c4f82185dc45557ef3b1bd949f (patch) | |
tree | 6f30e1bd5db9fe0487a879a259b55107203269fb /includes | |
parent | c45f994e14ddbca42f47069e7cd71484ae33bd34 (diff) | |
download | brdo-876536a955b783c4f82185dc45557ef3b1bd949f.tar.gz brdo-876536a955b783c4f82185dc45557ef3b1bd949f.tar.bz2 |
locale.module
- search is now default.
- search remembers your settings.
- save will dump you back to your last search.
Diffstat (limited to 'includes')
-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 16309da5b..a46ae405b 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -3,7 +3,7 @@ function conf_init() { global $HTTP_HOST, $REQUEST_URI; $file = strtolower(strtr($HTTP_HOST ."". substr($REQUEST_URI, 0, strrpos($REQUEST_URI, "/")), "/:", "..")); - while ($file && !file_exists("includes/$file.php")) $file = substr($file, strpos($file, ".") + 1); + while (strpos($file, '.') && !file_exists("includes/$file.php")) $file = substr($file, strpos($file, ".") + 1); return $file ? $file : "conf"; } |