show MMC alpha ready

This commit is contained in:
Александр Бабкин
2022-07-15 12:41:52 +03:00
parent cce02034f4
commit 518b072533
6 changed files with 246 additions and 161 deletions

View File

@@ -1,5 +1,8 @@
@php
$filePath = $project->mmc_path . '/' . $auk->auk_path . '/' . $auk->image_dir . '/' . $mmc->filename;
$svg = file_get_contents($filePath);
$svg = "";
if (strcasecmp(substr($mmc->filename, -3, 3), 'svg') == 0) {
$svg = readfile($filePath);
}
@endphp
{{ $svg }}