<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-14

只在本机测试过,目录改成按年月分,这样的形式:

http://127.0.0.1/uploads/allimg/0802/0908420.jpg

修改方法:

打开dede/inc/inc_archives_functions.php

1、查找:

$imgUrl = $cfg_uploaddir."/".strftime("%y%m%d",mytime());

共有两个,修改第一个。修改成发下代码:

$imgUrl = $cfg_uploaddir."/".strftime("%y%m",mytime());

2、查找:

$savepath = $ddcfg_image_dir."/".strftime("%y%m%d",$ntime);

修改为:

$savepath = $ddcfg_image_dir."/".strftime("%y%m",$ntime);

如果你没有更改过dede\inc\inc_archives_functions.php这个文件,可以下载附件直接覆盖

注意!请自己做好备份!
1-上传图片按年月分目录.rar
0
首页
案例
关于
联系