-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into reader-player-feature
- Loading branch information
Showing
26 changed files
with
1,282 additions
and
1,944 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
// phpcs:ignoreFile | ||
|
||
$sites = []; | ||
|
||
// HTTP_HOST is not set when running PHPUnit tests, so check for existence | ||
// first. | ||
if (isset($_SERVER['HTTP_HOST'])) { | ||
// Add in the host name to sites if it starts with `bnf-`. This way we don't | ||
// have to worry about what TLD people use (docker or local), nor the composer | ||
// project name (dpl-cms per default, but could be anything). | ||
$host = $_SERVER['HTTP_HOST']; | ||
if (preg_match('/^bnf-/', $host)) { | ||
$sites[$host] = 'bnf'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.