fixed bug in auto-loader that caused module classes to not load correctly.
This commit is contained in:
parent
512342c0db
commit
aa1e20bcef
|
@ -52,7 +52,7 @@ public static function load($class)
|
||||||
return class_alias(static::$aliases[$class], $class);
|
return class_alias(static::$aliases[$class], $class);
|
||||||
}
|
}
|
||||||
|
|
||||||
( ! static::load_from_registered($file)) or static::load_from_module($file);
|
(static::load_from_registered($file)) or static::load_from_module($file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue