资料收集站

SDL

Wednesday
Jan 07th
Text size
  • Increase font size
  • Default font size
  • Decrease font size

本站网址后面增加.html


修改include\sef.php

17行
if ($mosConfig_sef) {
之后添加  增加.html
$_SERVER['REQUEST_URI']=str_replace(".html","",$_SERVER['REQUEST_URI']);

505 行
return $mosConfig_live_site .'/'. $string . $fragment;

之前增加,去除/ 添加.html
if ($string!='')
{
$string=substr($string,0,-1);
$string.=".html";
}
Comments (0)Add Comment

Write comment

busy
Last Updated ( Friday, 08 September 2006 12:10 )  

Google 搜索

在线用户

We have 52 guests online