作者 刘锟

update

... ... @@ -293,9 +293,9 @@ class HtmlCollect extends Command
$path_arr = explode('.', $path);
if (
(empty($scheme) || $scheme == 'https' || $scheme == 'http')
&& (empty($host) || $host == $web_url_domain || $host == $home_url)
&& (empty($host) || (strpos($web_url_domain, $host) !== false) || (strpos($home_url, $host) !== false))
&& $path
&& (substr($path,0,1) == '/')
&& (substr($path, 0, 1) == '/')
&& (strpos($path, '.') !== false)
&& (!in_array(end($path_arr), ['html', 'php', 'com', 'xml']))
) {
... ...
... ... @@ -293,7 +293,7 @@ class HtmlLanguageCollect extends Command
$path_arr = explode('.', $path);
if (
(empty($scheme) || $scheme == 'https' || $scheme == 'http')
&& (empty($host) || $host == $web_url_domain || $host == $home_url)
&& (empty($host) || (strpos($web_url_domain, $host) !== false) || (strpos($home_url, $host) !== false))
&& $path
&& (substr($path,0,1) == '/')
&& (strpos($path, '.') !== false)
... ...