Skip to content

Commit 04ae3d8

Browse files
committed
Set media storage root to wysiwyg directory in pub/media
1 parent 19fcb92 commit 04ae3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Helper/Wysiwyg/Images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function getStorageRoot()
118118
*/
119119
public function getStorageRootSubpath()
120120
{
121-
return '';
121+
return \Magento\Cms\Model\Wysiwyg\Config::IMAGE_DIRECTORY;
122122
}
123123

124124
/**

0 commit comments

Comments
 (0)