Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Add preg_match for bleeding check
Browse files Browse the repository at this point in the history
  • Loading branch information
Xoryo authored Feb 22, 2017
1 parent 06e5702 commit 7628b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

$path = "/mnt/data/output/";
if("/^bleeding\\.maps4news\\.com$/i") {
if(preg_match("/^bleeding\\.maps4news\\.com$/i")) {
$path = "/var/ace/output/";
}

Expand Down

0 comments on commit 7628b52

Please sign in to comment.