标签:https
【dedecms织梦教程】织梦DEDECMS远程图片遇到https无法本地化的解决办法
对于http的远程图片本地化,dedecms能很好解决,但是碰到https的就无法本地化了,以下是解决办法: 找到 dede//inc/inc_archives_functions.php文件里面GetCurContent($body)这个函数,里面 preg_match_all(“/src=[/”|’|/s]{0,}(http:////([^>]*)/.(g
对于http的远程图片本地化,dedecms能很好解决,但是碰到https的就无法本地化了,以下是解决办法: 找到 dede//inc/inc_archives_functions.php文件里面GetCurContent($body)这个函数,里面 preg_match_all(“/src=[/”|’|/s]{0,}(http:////([^>]*)/.(g