LinkStack/resources/views/layouts/analytics.blade.php
2022-06-09 22:26:35 +02:00

14 lines
301 B
PHP

<?php
$analyticsHTML = config('advanced-config.analytics');
$analyticsHTML = preg_replace("~<!--(.*?)-->~s", "", $analyticsHTML);
$analyticsHTML = trim($analyticsHTML);
?>
@if(preg_replace( "/\r|\n/", "", $analyticsHTML ) != '')
<!-- Analytics -->
{!! $analyticsHTML !!}
<!-- /Analytics -->
@endif