<?php
 namespace Module\ConfigSite\Util; class ConfigSiteUtil { public static function bootCDN() { try { $cdn = modstart_config('systemCdnUrl', '/'); if (config('env.URL_CDN')) { $cdn = config('env.URL_CDN'); } config([ 'modstart.asset.cdn' => $cdn, ]); } catch (\Exception $e) { } } }