Permalink
Browse files

404

  • Loading branch information...
thinksaas
thinksaas committed Feb 25, 2012
1 parent a5970ea commit c370cf900d3eebaad3421e391d27676fa3d77196
Showing with 4 additions and 4 deletions.
  1. +1 −1 app/group/action/topic.php
  2. +2 −2 app/group/html/rss.html
  3. +1 −1 app/index.php
@@ -93,7 +93,7 @@
($page > 1) ? $titlepage = " - 第".$page."" : $titlepage='';
- $title = $title.$titlepage.' - '.$strGroup['groupname'];
+ $title = $title.$titlepage.'_'.$strGroup['groupname'];
include template('topic');
View
@@ -10,12 +10,12 @@
<!--{loop $arrTopic $key $item}-->
<item>
<title>{$item[title]}{$TS_SITE[base][site_title]}{$strGroup[groupname]}小组)</title>
- <link>{$TS_SITE[base][site_url]}{tsUrl('group','topic',array('id'=>$item[topicid]))}</link>
+ <link>{SITE_URL}{tsUrl('group','topic',array('id'=>$item[topicid]))}</link>
<description><![CDATA[{$item[content]}]]></description>
<content:encoded><![CDATA[{$item[content]}]]></content:encoded>
<dc:creator>{$item[username]}</dc:creator>
<pubDate>{php echo date('Y-m-d H:i:s',$item[addtime])}</pubDate>
- <guid isPermaLink="true">{$TS_SITE[base][site_url]}{tsUrl('group','topic',array('id'=>$item[topicid]))}</guid>
+ <guid isPermaLink="true">{SITE_URL}{tsUrl('group','topic',array('id'=>$item[topicid]))}</guid>
</item>
<!--{/loop}-->
</channel>
View
@@ -175,6 +175,6 @@
}else{
- header("HTTP/1.1 404 Not Found");
+ header("Location: http://www.thinksaas.cn/");
exit;
}

0 comments on commit c370cf9

Please sign in to comment.