mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
[Bridge] Fix whitelist check
This commit is contained in:
parent
88919a43fd
commit
6943abd9c2
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ EOD;
|
|||
|| in_array($name . '.php', $whitelist)
|
||||
|| in_array($name . 'Bridge', $whitelist) // DEPRECATED
|
||||
|| in_array($name . 'Bridge.php', $whitelist) // DEPRECATED
|
||||
|| count($whitelist) === 1 and trim($whitelist[0]) === '*'){
|
||||
|| (count($whitelist) === 1 && trim($whitelist[0]) === '*')){
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue