Skip to content

Commit 7a2bf2c

Browse files
@svg updated
1 parent 0107044 commit 7a2bf2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Laravel.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ public static function svgDirective()
8888
\$path = str_replace(['\"', \"'\"], '', \$path);
8989
\$class = str_replace(['\"', \"'\"], '', \$class);
9090
91-
\$fullPath = tasset(\$path, false, false);
91+
\$fullPath = \\Tamedevelopers\\Support\\Tame::stringReplacer(
92+
str_replace(rtrim(domain('')), '', tasset(\$path, false, false))
93+
);
9294
9395
if (\\Tamedevelopers\\Support\\Tame::exists(\$fullPath)) {
9496
\$svg = new \\DOMDocument();

0 commit comments

Comments
 (0)