@@ -621,7 +621,9 @@ class Color extends Start_Controller {
}
else if($v != '')
{
- $imagePath = str_replace(array('http://'.$_SERVER['HTTP_HOST'],'http://erp.hnwmzp.cn','https://erp.hnwmzp.cn','http://1.wepolicy.cn/','/img/thumb?src='),'/www/wwwroot/1.wepolicy.cn',$v);
+ $imagePath = str_replace('http://'.$_SERVER['HTTP_HOST'],'/www/wwwroot/1.wepolicy.cn',$v);
+ var_dump($imagePath);
+ die;
$imageData = file_get_contents($imagePath);
$base64 = 'data:' . mime_content_type($imagePath) . ';base,' . base64_encode($imageData);
$info_list[$key]['img'] = "<img width='70' src='".$base64."' data-src='".$v."'>";