1
0
Fork 0
forked from blallo/rss-bridge

[Bridge] Fix whitelist check

This commit is contained in:
logmanoriginal 2016-09-11 14:02:02 +02:00
parent 88919a43fd
commit 6943abd9c2

View file

@ -96,7 +96,7 @@ EOD;
|| in_array($name . '.php', $whitelist) || in_array($name . '.php', $whitelist)
|| in_array($name . 'Bridge', $whitelist) // DEPRECATED || in_array($name . 'Bridge', $whitelist) // DEPRECATED
|| in_array($name . 'Bridge.php', $whitelist) // DEPRECATED || in_array($name . 'Bridge.php', $whitelist) // DEPRECATED
|| count($whitelist) === 1 and trim($whitelist[0]) === '*'){ || (count($whitelist) === 1 && trim($whitelist[0]) === '*')){
return true; return true;
} else { } else {
return false; return false;