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 82b2b858..1e6a3983 100644 --- a/application/Router.php +++ b/application/Router.php | |||
@@ -29,6 +29,8 @@ class Router | |||
29 | 29 | ||
30 | public static $PAGE_IMPORT = 'import'; | 30 | public static $PAGE_IMPORT = 'import'; |
31 | 31 | ||
32 | public static $PAGE_OPENSEARCH = 'opensearch'; | ||
33 | |||
32 | public static $PAGE_LINKLIST = 'linklist'; | 34 | public static $PAGE_LINKLIST = 'linklist'; |
33 | 35 | ||
34 | /** | 36 | /** |
@@ -63,6 +65,10 @@ class Router | |||
63 | return self::$PAGE_TAGCLOUD; | 65 | return self::$PAGE_TAGCLOUD; |
64 | } | 66 | } |
65 | 67 | ||
68 | if (startswith($query, 'do='. self::$PAGE_OPENSEARCH)) { | ||
69 | return self::$PAGE_OPENSEARCH; | ||
70 | } | ||
71 | |||
66 | // At this point, only loggedin pages. | 72 | // At this point, only loggedin pages. |
67 | if (!$loggedIn) { | 73 | if (!$loggedIn) { |
68 | return self::$PAGE_LINKLIST; | 74 | return self::$PAGE_LINKLIST; |