We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 548e0b2 commit 97f39b2Copy full SHA for 97f39b2
lib/internal/Magento/Framework/App/View/Asset/MaterializationStrategy/Symlink.php
@@ -6,6 +6,7 @@
6
7
namespace Magento\Framework\App\View\Asset\MaterializationStrategy;
8
9
+use Magento\Framework\App\Filesystem\DirectoryList;
10
use Magento\Framework\Filesystem\Directory\WriteInterface;
11
use Magento\Framework\View\Asset;
12
@@ -38,7 +39,7 @@ public function publishFile(
38
39
public function isSupported(Asset\LocalInterface $asset)
40
{
41
$sourceParts = explode('/', $asset->getSourceFile());
- if (in_array(Asset\Source::TMP_MATERIALIZATION_DIR, $sourceParts)) {
42
+ if (in_array(DirectoryList::TMP_MATERIALIZATION_DIR, $sourceParts)) {
43
return false;
44
}
45
0 commit comments