mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +00:00
parent
2e0abfe1e0
commit
0ae6b8594f
2 changed files with 3 additions and 2 deletions
|
@ -69,7 +69,7 @@ class Generator
|
|||
*/
|
||||
protected function writeToFile($filename, $data)
|
||||
{
|
||||
$file = "./.dev-tools/referrers-regex-format.txt";
|
||||
$file = "./dev-tools/referrers-regex-format.txt";
|
||||
$handle = fopen($file, 'w') or die('Cannot open file: '.$file);
|
||||
fwrite($handle, $data);
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ class Generator
|
|||
*/
|
||||
public function createNginx(array $lines)
|
||||
{
|
||||
$file = "./.dev-tools/referrers-regex-format.txt";
|
||||
$file = "./dev-tools/referrers-regex-format.txt";
|
||||
$data = "";
|
||||
{
|
||||
foreach ($lines as $line) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue