Skip to content
Snippets Groups Projects
Commit 2937e20c authored by Oleksandr Karpenko's avatar Oleksandr Karpenko
Browse files

MAGETWO-51604: [TD] Add functionality to save image in custom folder

parent a0980064
Branches
No related merge requests found
......@@ -167,7 +167,7 @@ class File extends BackendFile
* @param string $fileName
* @return mixed
*/
public function getStoreMediaUrl($fileName)
protected function getStoreMediaUrl($fileName)
{
$fieldConfig = $this->getFieldConfig();
if (isset($fieldConfig['base_url'])) {
......@@ -184,7 +184,7 @@ class File extends BackendFile
* @param string $filename
* @return string
*/
public function getTmpMediaPath($filename)
protected function getTmpMediaPath($filename)
{
return 'tmp/' . FileProcessor::FILE_DIR . '/' . $filename;
}
......
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