summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-07 23:17:52 -0500
committerEvan Prodromou <evan@status.net>2009-11-07 23:17:52 -0500
commitd0466da80bfd50df4bbfe470e4bb6eed6e73b3e8 (patch)
tree58521575c7bda3855d778627f0a7a591a66bbb0c /lib/router.php
parent408510f527be0a1a22fa564369fad48938b7bd02 (diff)
add site admin panel
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index db9fdb470..27ad54c19 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -573,6 +573,8 @@ class Router
$m->connect('api/search.json', array('action' => 'twitapisearchjson'));
$m->connect('api/trends.json', array('action' => 'twitapitrends'));
+ $m->connect('admin/site', array('action' => 'siteadminpanel'));
+
$m->connect('getfile/:filename',
array('action' => 'getfile'),
array('filename' => '[A-Za-z0-9._-]+'));