summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 3539c5aa..df0d1337 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -13,6 +13,12 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
$_GET['N'] = $tokens[2];
if (isset($tokens[3])) {
+ if ($tokens[3] == 'voters') {
+ $_GET['ID'] = pkgid_from_name($tokens[2]);
+ include('voters.php');
+ return;
+ }
+
/* TODO: Remove support for legacy URIs and move these
* actions to separate modules. */
switch ($tokens[3]) {