X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FPathRouter.php;h=d367e4da3aafdf85579c1b3528851eb6e933901a;hb=69e1dc6f9ddcacadfd8d48aa589ea363ee6f6593;hp=435e09ef63d5a09b6335ec1b01951ffadb20b2fb;hpb=f10c9815e69b59844c178d218640bd1ac0435896;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PathRouter.php b/includes/PathRouter.php index 435e09ef63..d367e4da3a 100644 --- a/includes/PathRouter.php +++ b/includes/PathRouter.php @@ -27,7 +27,7 @@ * * $router->add( "/wiki/$1" ); * - Matches /wiki/Foo style urls and extracts the title - * $router->add( array( 'edit' => "/edit/$1" ), array( 'action' => '$key' ) ); + * $router->add( array( 'edit' => "/edit/$key" ), array( 'action' => '$key' ) ); * - Matches /edit/Foo style urls and sets action=edit * $router->add( '/$2/$1', * array( 'variant' => '$2' ),