null should return default bundle path.
This commit is contained in:
parent
86102ac417
commit
5cfe371360
|
@ -242,6 +242,8 @@ public static function class_prefix($bundle)
|
|||
*/
|
||||
public static function path($bundle)
|
||||
{
|
||||
if (is_null($bundle)) return static::path(DEFAULT_BUNDLE);
|
||||
|
||||
return ($bundle == DEFAULT_BUNDLE) ? path('app') : static::location($bundle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue