diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/Router.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application/Router.php b/application/Router.php index 1e6a3983..0c813847 100644 --- a/application/Router.php +++ b/application/Router.php | |||
@@ -13,6 +13,8 @@ class Router | |||
13 | 13 | ||
14 | public static $PAGE_TAGCLOUD = 'tagcloud'; | 14 | public static $PAGE_TAGCLOUD = 'tagcloud'; |
15 | 15 | ||
16 | public static $PAGE_DAILY = 'daily'; | ||
17 | |||
16 | public static $PAGE_TOOLS = 'tools'; | 18 | public static $PAGE_TOOLS = 'tools'; |
17 | 19 | ||
18 | public static $PAGE_CHANGEPASSWORD = 'changepasswd'; | 20 | public static $PAGE_CHANGEPASSWORD = 'changepasswd'; |
@@ -69,6 +71,10 @@ class Router | |||
69 | return self::$PAGE_OPENSEARCH; | 71 | return self::$PAGE_OPENSEARCH; |
70 | } | 72 | } |
71 | 73 | ||
74 | if (startsWith($query, 'do='. self::$PAGE_DAILY)) { | ||
75 | return self::$PAGE_DAILY; | ||
76 | } | ||
77 | |||
72 | // At this point, only loggedin pages. | 78 | // At this point, only loggedin pages. |
73 | if (!$loggedIn) { | 79 | if (!$loggedIn) { |
74 | return self::$PAGE_LINKLIST; | 80 | return self::$PAGE_LINKLIST; |