Home > Backend Development > PHP Tutorial > 问下,织梦咋把文档生成的html页面在文件夹下面,而不是文件夹下以年月日命名的文件夹

问下,织梦咋把文档生成的html页面在文件夹下面,而不是文件夹下以年月日命名的文件夹

WBOY
Release: 2016-06-20 12:43:05
Original
924 people have browsed it

织梦咋把文档生成的html页面在文件夹下面,而不是文件夹下以年月日命名的文件夹,织梦系统默认生成静态页面是以文件夹下年/月日/名称文件夹,比如我文件是yyjj,那么生成的文档就在yyjj这个文件夹下,而不是在yyj/2015/12-09/这种格式下面。这个怎么改呢?


回复讨论(解决方案)

直接修在高级选项—文章命名规则里面,把那个年月日去掉就行,或者改程序,在include/common.inc.php里面找到$cfg_df_namerule = '{typedir}/{Y}/{M}{D}/{aid}'.$cfg_df_ext;去掉{Y}/{M}{D}/就可以了。

谢谢了,我也是钻了牛角尖了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template