dever 6 年之前
父节点
当前提交
02f987c6c2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main/lib/Core.php

+ 2 - 2
main/lib/Core.php

@@ -45,10 +45,10 @@ class Core
 
     public function replacePic($pic, $type = 't1')
     {
-        //$pic = Dever::pic($pic, $type);
+        $pic = Dever::pic($pic, $type);
 
         if (strstr($pic, 'http://')) {
-            $pic = str_replace('http://', 'https://', $pic);
+            //$pic = str_replace('http://', 'https://', $pic);
         }
 
         return $pic;