mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-16 18:19:48 +00:00
Referrers / Bots (+/-)
- Fix to google-exclude generator script - Some new bad words added to default bad-referrer-words.conf include file
This commit is contained in:
parent
acf4e71d82
commit
061b850f3b
3 changed files with 19 additions and 4 deletions
|
@ -63,7 +63,7 @@ class Generator
|
|||
*/
|
||||
protected function writeToFile($filename, $data)
|
||||
{
|
||||
$file = __DIR__ . "/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/$filename";
|
||||
$file = "/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/$filename";
|
||||
$handle = fopen($file, 'w') or die('Cannot open file: '.$file);
|
||||
fwrite($handle, $data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue