mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Fix directory problem with google exclude file generator
This commit is contained in:
parent
e9866f159d
commit
31743d85e5
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Generator
|
|||
*/
|
||||
public function domainWorker()
|
||||
{
|
||||
$domainsFile = __DIR__ . "/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_generator_lists/bad-referrers.list";
|
||||
$domainsFile = "/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_generator_lists/bad-referrers.list";
|
||||
$handle = fopen($domainsFile, "r");
|
||||
if (!$handle) {
|
||||
throw new \RuntimeException('Error opening file ' . $domainsFile);
|
||||
|
|
Loading…
Add table
Reference in a new issue