| xqd
@@ -38,7 +38,7 @@ abstract class Controller extends BaseController
|
|
|
|
|
|
public function formatImgUrl($url){
|
|
|
// echo substr($url, 0, 7);
|
|
|
- //dd($url);
|
|
|
+ dd($url);
|
|
|
if (substr($url, 0, 7) == 'http://' || substr($url, 0, 8) == 'https://') {
|
|
|
if(substr($url, 0, 7) == 'http://'){
|
|
|
$url = str_replace('http://','https://',$url);
|