Skip to content

Commit ebaefe2

Browse files
author
Dale Sikkema
committed
MAGETWO-23679: Unable to place order with product with custom option 'file'
1 parent a60d492 commit ebaefe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Filesystem/DirectoryList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function __construct($root, array $config = [])
9696
static::validate($config);
9797
$this->root = $this->filterPath($root);
9898
$this->directories = static::getDefaultConfig();
99-
$this->directories[self::SYS_TMP] = [self::PATH => sys_get_temp_dir()];
99+
$this->directories[self::SYS_TMP] = [self::PATH => realpath(sys_get_temp_dir())];
100100

101101
// inject custom values from constructor
102102
foreach ($this->directories as $code => $dir) {

0 commit comments

Comments
 (0)