impl. dev help documentation

This commit is contained in:
Dennis Eichhorn 2020-04-24 18:10:20 +02:00
parent 9df89bc64e
commit 2afa4d03a7

View File

@ -166,7 +166,7 @@ final class ApiController extends Controller
if ($pathSettings === PathSettings::RANDOM_PATH) {
$outputDir = self::createMediaPath($basePath);
} elseif ($pathSettings === PathSettings::FILE_PATH) {
$outputDir = $basePath . $virtualPath;
$outputDir = \rtrim($basePath, '/\\') . $virtualPath;
$absolute = true;
} else {
return $mediaCreated;