Skip to content

Commit

Permalink
Update generate-htaccess.php
Browse files Browse the repository at this point in the history
Fix Unicode Hyphen Line 179
  • Loading branch information
mitchellkrogza authored Aug 17, 2024
1 parent 081ab8d commit b629490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/generate-htaccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function createOLS($date, array $lines, array $lines2)

$data .= "RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*" . preg_quote($line) . ".*$ [NC,OR]\n";
}
$data .= "RewriteRule ^(.*)$ [F,L]\n</IfModule>";
$data .= "RewriteRule ^(.*)$ - [F,L]\n</IfModule>";
$this->writeToFile($file, $data);
}

Expand Down

0 comments on commit b629490

Please sign in to comment.