diff --git a/library/think/Url.php b/library/think/Url.php index 4c5613f7..bb0b8d5d 100644 --- a/library/think/Url.php +++ b/library/think/Url.php @@ -40,7 +40,7 @@ class Url // 解析域名 list($anchor, $domain) = explode('@', $anchor, 2); } - } elseif (false!==strpos($url, '@')) { + } elseif (strpos($url, '@')) { // 解析域名 list($url, $domain) = explode('@', $url, 2); }