Revision: 1480
Author: magike.net
Date: Wed Dec  8 19:27:31 2010
Log: 修正年份路由的bug
http://code.google.com/p/typecho/source/detail?r=1480

Modified:
 /trunk/var/Widget/Archive.php

=======================================
--- /trunk/var/Widget/Archive.php       Sat Aug 14 23:11:52 2010
+++ /trunk/var/Widget/Archive.php       Wed Dec  8 19:27:31 2010
@@ -708,6 +708,9 @@
             $fromMonth = 1;
             $toMonth = 12;

+            $fromDay = 1;
+            $toDay = 31;
+
             if (isset($this->request->month)) {
                 $fromMonth = $this->request->filter('int')->month;
                 $toMonth = $fromMonth;
_______________________________________________
announce mailing list
[email protected]
http://lists.typecho.org/mailman/listinfo/announce

回复