bundle::exists should return true for default bundle.
This commit is contained in:
@@ -131,7 +131,7 @@ class Bundle {
|
|||||||
*/
|
*/
|
||||||
public static function exists($bundle)
|
public static function exists($bundle)
|
||||||
{
|
{
|
||||||
return in_array(strtolower($bundle), static::names());
|
return $bundle == DEFAULT_BUNDLE or in_array(strtolower($bundle), static::names());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user