|
...
|
...
|
@@ -550,9 +550,6 @@ if (!function_exists('str_replace_url')) { |
|
|
|
*/
|
|
|
|
function str_replace_url($url)
|
|
|
|
{
|
|
|
|
if(empty($url)){
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
$cos = config('filesystems.disks.cos');
|
|
|
|
$cosCdn = $cos['cdn'];
|
|
|
|
if($url && strpos($url,$cosCdn) !== false){
|
...
|
...
|
|