mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix path bug
This commit is contained in:
parent
833886f970
commit
a125925f29
|
|
@ -57,7 +57,7 @@ final class Autoloader
|
||||||
*/
|
*/
|
||||||
public static function addPath(string $path) : void
|
public static function addPath(string $path) : void
|
||||||
{
|
{
|
||||||
self::$paths[] = $path;
|
self::$paths[] = \rtrim($path, '/\\') . '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user