Commit 1b0dd52e authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Use dirname instead of basename to create new upload

When uploading via SOAP API a wrong folder structure was created
as basename() instead of dirname() was used.
parent 008ae27a
Pipeline #9268 passed with stages
in 6 minutes and 18 seconds
......@@ -567,7 +567,7 @@ class tx_ter_api
// Create directories and build filenames
$storagePrefix = $extensionVersion->getStoragePrefix();
GeneralUtility::mkdir_deep(basename($storagePrefix));
GeneralUtility::mkdir_deep(dirname($storagePrefix));
$t3xFileName = $storagePrefix . '.t3x';
// Write the files
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment