We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a2027 commit 3adb1ebCopy full SHA for 3adb1eb
lib/internal/Magento/Framework/Filesystem/Directory/Write.php
@@ -53,9 +53,7 @@ public function __construct(
53
protected function assertWritable($path)
54
{
55
if ($this->isWritable($path) === false) {
56
- $path = (!$this->driver->isFile($path))
57
- ? $this->getAbsolutePath($this->path, $path)
58
- : $this->getAbsolutePath($path);
+ $path = $this->getAbsolutePath($path);
59
throw new FileSystemException(new \Magento\Framework\Phrase('The path "%1" is not writable.', [$path]));
60
}
61
0 commit comments