rm runmode

This commit is contained in:
deepzz0
2016-10-02 19:53:21 +08:00
parent 13aefb3e21
commit c1f6611b5d
8 changed files with 27 additions and 33 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func CommentsCount() {
var threads []string
for ; index < len(Ei.Articles) && count < 20; index++ {
artc := Ei.Articles[index]
threads = append(threads, fmt.Sprintf("thread=link:https://%s/post/%s.html", runmode.Domain, artc.Slug))
threads = append(threads, fmt.Sprintf("thread=link:https://%s/post/%s.html", setting.Conf.Mode.Domain, artc.Slug))
count++
}
count = 0