Filesystem storage: handle basepath with trailing slash
This commit is contained in:
parent
ec94318a35
commit
a7d45682e7
|
@ -28,7 +28,8 @@ class Filesystem implements IStorage
|
|||
|
||||
private static function getBasePath()
|
||||
{
|
||||
return Config::get('storage', 'filesystem_path', self::DEFAULT_BASE_FOLDER);
|
||||
$path = Config::get('storage', 'filesystem_path', self::DEFAULT_BASE_FOLDER);
|
||||
return rtrim($path, '/');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue