Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Add Files folder to Media component and to "FileSystem local" adapter #43532

Open
wants to merge 19 commits into
base: 5.3-dev
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Fix API Media model::save(): Return resulting path with the requested…
… adapter
  • Loading branch information
Fedik committed May 30, 2024
commit 3eaf5048c19a09f86337dc2dc1d32b2ba81a9f2a
3 changes: 2 additions & 1 deletion api/components/com_media/src/Model/MediumModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ public function save($path = null): string
);
}

return $resultPath;
// Return resulting path with the requested adapter in it
return $adapterName . ':/' . $resultPath;
}

/**
Expand Down