sforkowany z mirror/friendica
Filesystem storage: handle basepath with trailing slash
rodzic
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, '/');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue