修改e/class/hinfofun.php
//文件命名
if($add['filename'])
{
$filename=$add['filename'];
}
else
{
$filename=ReturnPinyinFun($add['title']);
}
//信息地址
$filename=str_replace(" ","-",$filename);
$updateinfourl='';
数据库表运行sql语句
ALTER TABLE `phome_ecms_news` CHANGE `filename` `filename` CHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';
评论(0)