DedeCms 修改文章来源文字长度的方法
1 | 进入后台》系统》SQL命令行工具输入
alter table dede_archives modify source varchar(114)
,然后点确定
2 | 打开网站目录下dede里的article_add.php文件,查找
$source = cn_substrR($source,30);
改为
$source = cn_substrR($source,114);
3 | 打开网站目录下dede里的dede/article_edit.php文件,查找
$source = cn_substrR($source,30);
改为
$source = cn_substrR($source,114);