X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FRouter.php;fp=application%2FRouter.php;h=beb3165b49e128e1a8cb5f60bbb0427fa3a80b5e;hb=86e1bc713fd7fa74d6a17a7687428fa1c6d3c5f2;hp=bf86b884db07243a215c86748d5f97cc9c1b811c;hpb=10a7b5cee96a742fbe86edbea977f3c55c92e9aa;p=github%2Fshaarli%2FShaarli.git diff --git a/application/Router.php b/application/Router.php index bf86b884..beb3165b 100644 --- a/application/Router.php +++ b/application/Router.php @@ -37,6 +37,8 @@ class Router public static $PAGE_DELETELINK = 'delete_link'; + public static $PAGE_PINLINK = 'pin'; + public static $PAGE_EXPORT = 'export'; public static $PAGE_IMPORT = 'import'; @@ -146,6 +148,10 @@ class Router return self::$PAGE_DELETELINK; } + if (startsWith($query, 'do='. self::$PAGE_PINLINK)) { + return self::$PAGE_PINLINK; + } + if (startsWith($query, 'do='. self::$PAGE_EXPORT)) { return self::$PAGE_EXPORT; }