From: Jeffery To Date: Thu, 8 Oct 2009 02:00:31 +0000 (+0800) Subject: Added getfile action X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f58daa873befbaee5a998e69622c046c8a978dee;p=quix0rs-gnu-social.git Added getfile action --- diff --git a/lib/router.php b/lib/router.php index 5529e60acb..7455d9cf85 100644 --- a/lib/router.php +++ b/lib/router.php @@ -171,6 +171,10 @@ class Router array('action' => 'attachment_thumbnail'), array('attachment' => '[0-9]+')); + $m->connect('getfile/:filename', + array('action' => 'getfile'), + array('filename' => '[A-Za-z0-9._-]+')); + $m->connect('notice/new', array('action' => 'newnotice')); $m->connect('notice/new?replyto=:replyto', array('action' => 'newnotice'),