mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
Fix syntax error in new regex formatting of referrers.
This commit is contained in:
parent
0fb7b34bae
commit
f3539facae
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Generator
|
||||||
$data = "";
|
$data = "";
|
||||||
{
|
{
|
||||||
foreach ($lines as $line) {
|
foreach ($lines as $line) {
|
||||||
$data .= "~*\"" . preg_quote($line) . "\" \t1;\n";
|
$data .= "\"~*" . preg_quote($line) . "\" \t1;\n";
|
||||||
}
|
}
|
||||||
$this->writeToFile($file, $data);
|
$this->writeToFile($file, $data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue