From: Evan Prodromou Date: Sat, 31 Oct 2009 18:43:01 +0000 (-0400) Subject: revert revert on getfile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=521bd68d7cafba2d534b22105133138d727e9119;p=quix0rs-gnu-social.git revert revert on getfile --- diff --git a/lib/router.php b/lib/router.php index 2fd255fe6f..3223b0a265 100644 --- a/lib/router.php +++ b/lib/router.php @@ -577,6 +577,10 @@ class Router $m->connect('api/search.json', array('action' => 'twitapisearchjson')); $m->connect('api/trends.json', array('action' => 'twitapitrends')); + $m->connect('getfile/:filename', + array('action' => 'getfile'), + array('filename' => '[A-Za-z0-9._-]+')); + // user stuff foreach (array('subscriptions', 'subscribers',