From 9cd2fb61625158772cff55caf3abd817346ade23 Mon Sep 17 00:00:00 2001 From: Igor V Belousov Date: Tue, 24 Jan 2017 19:43:11 +0300 Subject: [PATCH] 19:42 --- src/start.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/start.php b/src/start.php index 5ec0aa6..12defc0 100644 --- a/src/start.php +++ b/src/start.php @@ -29,6 +29,7 @@ $app->config = (object) [ $app->setRoute( '/^\/CAPTCHA.png\?*\d*$/', 'CAPTCHA' ); $app->setRoute( '|^/page/(?\d+)/$|', 'Index', 'page'); +$app->setRoute( '|^/view_table/((?\d+)/)*$|', 'Index', 'table'); $app->setRoute( '/^.*$/', 'error404' ); $app->run(); \ No newline at end of file