mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-16 01:08:41 +00:00
impl. dev help documentation
This commit is contained in:
parent
9df89bc64e
commit
2afa4d03a7
|
|
@ -166,7 +166,7 @@ final class ApiController extends Controller
|
||||||
if ($pathSettings === PathSettings::RANDOM_PATH) {
|
if ($pathSettings === PathSettings::RANDOM_PATH) {
|
||||||
$outputDir = self::createMediaPath($basePath);
|
$outputDir = self::createMediaPath($basePath);
|
||||||
} elseif ($pathSettings === PathSettings::FILE_PATH) {
|
} elseif ($pathSettings === PathSettings::FILE_PATH) {
|
||||||
$outputDir = $basePath . $virtualPath;
|
$outputDir = \rtrim($basePath, '/\\') . $virtualPath;
|
||||||
$absolute = true;
|
$absolute = true;
|
||||||
} else {
|
} else {
|
||||||
return $mediaCreated;
|
return $mediaCreated;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user