diff --git a/lib/Bridge.php b/lib/Bridge.php index a7ffba31..c3f76ae2 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -316,7 +316,7 @@ class Bridge{ return $listBridge; } static function isWhitelisted( $whitelist, $name ) { - if(in_array("$name", $whitelist) or in_array("$name.php", $whitelist)) + if(in_array("$name", $whitelist) or in_array("$name.php", $whitelist) or count($whitelist) === 1 and $whitelist[0] === '*') return TRUE; else return FALSE;