Commit 9aeeae6d85c6109c20ffad32b612a750b5360feb
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
11 additions
and
1 deletions
Show diff stats
www/index.php
| @@ -1800,7 +1800,17 @@ try | @@ -1800,7 +1800,17 @@ try | ||
| 1800 | ['controller' => 'page'])->beforeMatch(function($matchedRoute, $routeObject){ | 1800 | ['controller' => 'page'])->beforeMatch(function($matchedRoute, $routeObject){ |
| 1801 | return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c_20/koshiki_ovochevi_1c_21/ru", true, 301); | 1801 | return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c_20/koshiki_ovochevi_1c_21/ru", true, 301); |
| 1802 | }); | 1802 | }); |
| 1803 | - | 1803 | + $router->add |
| 1804 | + ('/koshiki_1c0', | ||
| 1805 | + ['controller' => 'page'] | ||
| 1806 | + )->beforeMatch(function($matchedRoute, $routeObject) { | ||
| 1807 | + return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c0/koshiki_ovochevi_1c1", true, 301); | ||
| 1808 | + }); | ||
| 1809 | + $router->add | ||
| 1810 | + ('/koshiki_1c_20{language:([/][a-z]{2})?}', | ||
| 1811 | + ['controller' => 'page'])->beforeMatch(function($matchedRoute, $routeObject){ | ||
| 1812 | + return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c_20/koshiki_ovochevi_1c_21/ru", true, 301); | ||
| 1813 | + }); | ||
| 1804 | $router->add | 1814 | $router->add |
| 1805 | ('/koshiki_1c0/koshiki_ovochevi_1c1', | 1815 | ('/koshiki_1c0/koshiki_ovochevi_1c1', |
| 1806 | ['controller' => 'page', | 1816 | ['controller' => 'page', |