<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms上传图片相对路径改成绝对路径方法

时间:2020-12-09

很多朋友使用dedecms的时候都用了二级域名的功能,所以造成很多文章中图片不显示的问题。在百度后得到一个方法就是进入dede后台“系统”-“系统基本参数”-“核心设置”,开启支持多站点,结果也不管用。

解决方法
找到 include\dialog\select_images_post.php 第108行

1 $fileurl = $activepath.’/’.$filename;

 
换成:

1 $fileurl = ‘你的域名’.$activepath.’/’.$filename;

这样就可以完美实现dedecms上传图片相对路径改成绝对路了。
0
首页
案例
关于
联系