mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
Filesystem storage: handle basepath with trailing slash
This commit is contained in:
parent
ec94318a35
commit
a7d45682e7
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ class Filesystem implements IStorage
|
||||||
|
|
||||||
private static function getBasePath()
|
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