summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-11 00:45:11 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-11 00:45:11 -0500
commitbba1dbdb403aac067ae97c44531f6886f90fec35 (patch)
tree32ff8ae70721baf721ab4833acc2abfe7fff07c2 /index.php
parentfbecbcb693e9d8fc810cf316e8739a22ac501043 (diff)
Use a router singleton
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f334e2c34..717b17361 100644
--- a/index.php
+++ b/index.php
@@ -51,7 +51,7 @@ function main() {
$path = getPath($_REQUEST);
- $r = new Router();
+ $r = Router::get();
$args = $r->map($path);