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

Commit

Permalink
fix preg_match call
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Richter authored Mar 2, 2017
1 parent 48d29a7 commit aa1db19
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(preg_match("/^bleeding\\.maps4news\\.com$/i")) {
if(preg_match("/^bleeding\\.maps4news\\.com$/i", $_SERVER['HTTP_HOST'])) {
$path = "/var/ace/output/";
}

Expand Down

0 comments on commit aa1db19

Please sign in to comment.