mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
parent
0ae6b8594f
commit
d5fb6cca39
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ class Generator
|
|||
*/
|
||||
protected function writeToFile($filename, $data)
|
||||
{
|
||||
$file = "./.dev-tools/referrers-regex-format-whitelist-test.txt";
|
||||
$file = "./dev-tools/referrers-regex-format-whitelist-test.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-whitelist-test.txt";
|
||||
$file = "./dev-tools/referrers-regex-format-whitelist-test.txt";
|
||||
$data = "";
|
||||
{
|
||||
foreach ($lines as $line) {
|
||||
|
|
|
@ -116,8 +116,8 @@ printf "\n\n"
|
|||
# -------------
|
||||
|
||||
releaseNewVersion
|
||||
commitBuildChanges
|
||||
deployPackage
|
||||
#commitBuildChanges
|
||||
#deployPackage
|
||||
|
||||
|
||||
# ----------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue