Browse Source

恢复第三方文件完整

tags/6.5.0
叙述、别离 1 week ago
parent
commit
771f037f2c
8 changed files with 8 additions and 16 deletions
  1. +1
    -2
      src/system/libraries/agent.class.php
  2. +1
    -2
      src/system/libraries/crawlerdetect.class.php
  3. +1
    -2
      src/system/libraries/fixtures/abstractprovider.php
  4. +1
    -2
      src/system/libraries/fixtures/crawlers.php
  5. +1
    -2
      src/system/libraries/fixtures/exclusions.php
  6. +1
    -2
      src/system/libraries/fixtures/headers.php
  7. +1
    -2
      src/system/libraries/mobiledetect.class.php
  8. +1
    -2
      src/system/libraries/splitword.class.php

+ 1
- 2
src/system/libraries/agent.class.php View File

@@ -355,5 +355,4 @@ class Agent extends Mobile_Detect
$key = substr($name, 2);
return $this->matchUAAgainstKey($key);
}
}
?>
}

+ 1
- 2
src/system/libraries/crawlerdetect.class.php View File

@@ -162,5 +162,4 @@ class CrawlerDetect
{
return isset($this->matches[0]) ? $this->matches[0] : null;
}
}
?>
}

+ 1
- 2
src/system/libraries/fixtures/abstractprovider.php View File

@@ -25,5 +25,4 @@ abstract class AbstractProvider
{
return $this->data;
}
}
?>
}

+ 1
- 2
src/system/libraries/fixtures/crawlers.php View File

@@ -1409,5 +1409,4 @@ class Crawlers extends AbstractProvider
'ZyBorg',
'[a-z0-9\-_]*(bot|crawl|archiver|transcoder|spider|uptime|validator|fetcher|cron|checker|reader|extractor|monitoring|analyzer|scraper)',
);
}
?>
}

+ 1
- 2
src/system/libraries/fixtures/exclusions.php View File

@@ -68,5 +68,4 @@ class Exclusions extends AbstractProvider
'; POWER BOT',
'OCTOPUS-CORE',
);
}
?>
}

+ 1
- 2
src/system/libraries/fixtures/headers.php View File

@@ -32,5 +32,4 @@ class Headers extends AbstractProvider
'HTTP_FROM',
'HTTP_X_SCANNER', //Seen in use by Netsparker
);
}
?>
}

+ 1
- 2
src/system/libraries/mobiledetect.class.php View File

@@ -1690,5 +1690,4 @@ class Mobile_Detect
// will receive the basic, C grade experience.
return self::MOBILE_GRADE_C;
}
}
?>
}

+ 1
- 2
src/system/libraries/splitword.class.php View File

@@ -1030,5 +1030,4 @@ class SplitWord
fclose( $fp );
return TRUE;
}
}
?>
}

Loading…
Cancel
Save