bundle::exists should return true for default bundle.

This commit is contained in:
Taylor Otwell
2012-02-06 08:28:45 -06:00
parent 395236d643
commit 643b440872

View File

@@ -131,7 +131,7 @@ class Bundle {
*/
public static function exists($bundle)
{
return in_array(strtolower($bundle), static::names());
return $bundle == DEFAULT_BUNDLE or in_array(strtolower($bundle), static::names());
}
/**