mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
fix autoloader bug
This commit is contained in:
parent
c813822ae5
commit
cd0ff0c478
|
|
@ -33,8 +33,8 @@ final class Autoloader
|
|||
* @since 1.0.0
|
||||
*/
|
||||
private static $paths = [
|
||||
__DIR__ . '/../',
|
||||
__DIR__ . '/../Karaka/',
|
||||
__DIR__ . '/../',
|
||||
__DIR__ . '/../../',
|
||||
];
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ final class Autoloader
|
|||
*/
|
||||
public static function addPath(string $path) : void
|
||||
{
|
||||
self::$paths[] = $path;
|
||||
self::$paths[] = \rtrim($path, '/\\') . '/';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user