mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-11 09:45:27 +01:00
14 lines
301 B
PHP
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
|