show MMC alpha ready
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user