wesley hace 6 años
padre
commit
abab3918c6
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      app/Http/Controllers/Admin/Controller.php

+ 3 - 3
app/Http/Controllers/Admin/Controller.php

@@ -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;