0%

帝国url调取文件名的长度设置

修改e/class/hinfofun.php

1
2
3
4
5
6
7
8
9
10
11
12
//文件命名
if($add['filename'])
{
$filename=$add['filename'];
}
else
{
$filename=ReturnPinyinFun($add['title']);
}
//信息地址
$filename=str_replace(" ","-",$filename);
$updateinfourl='';

数据库表运行sql语句

1
ALTER TABLE `phome_ecms_news` CHANGE `filename` `filename` CHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';