|
@@ -43,9 +43,9 @@ abstract class Controller extends BaseController
|
|
if(substr($url, 0, 7) == 'http://'){
|
|
if(substr($url, 0, 7) == 'http://'){
|
|
$url = str_replace('http://','https://',$url);
|
|
$url = str_replace('http://','https://',$url);
|
|
}
|
|
}
|
|
- if(substr($url,0,19) == 'https://t6.9026.com'){
|
|
|
|
- $url = str_replace('https://t6.9026.com',env('CDN_URL'),$url);
|
|
|
|
- }
|
|
|
|
|
|
+// if(substr($url,0,18) == 'https://t6.9026.com'){
|
|
|
|
+// $url = str_replace('https://t6.9026.com',env('CDN_URL'),$url);
|
|
|
|
+// }
|
|
return $url;
|
|
return $url;
|
|
} else {
|
|
} else {
|
|
return env('CDN_URL').$url;
|
|
return env('CDN_URL').$url;
|