mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-06 04:30:21 +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)
|
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);
|
$handle = fopen($file, 'w') or die('Cannot open file: '.$file);
|
||||||
fwrite($handle, $data);
|
fwrite($handle, $data);
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@ class Generator
|
||||||
*/
|
*/
|
||||||
public function createNginx(array $lines)
|
public function createNginx(array $lines)
|
||||||
{
|
{
|
||||||
$file = "./.dev-tools/referrers-regex-format-whitelist-test.txt";
|
$file = "./dev-tools/referrers-regex-format-whitelist-test.txt";
|
||||||
$data = "";
|
$data = "";
|
||||||
{
|
{
|
||||||
foreach ($lines as $line) {
|
foreach ($lines as $line) {
|
||||||
|
|
|
@ -116,8 +116,8 @@ printf "\n\n"
|
||||||
# -------------
|
# -------------
|
||||||
|
|
||||||
releaseNewVersion
|
releaseNewVersion
|
||||||
commitBuildChanges
|
#commitBuildChanges
|
||||||
deployPackage
|
#deployPackage
|
||||||
|
|
||||||
|
|
||||||
# ----------------------
|
# ----------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue