diff --git a/CatalogUrlManager.php b/CatalogUrlManager.php index f4871da..9262064 100755 --- a/CatalogUrlManager.php +++ b/CatalogUrlManager.php @@ -25,11 +25,12 @@ public function parseRequest($manager, $request) { /** - * Fast url fix + * Fast url fix. + * Did not helped with catalog products */ - if (!preg_match('@^\/(ru|ua).*@i', $request->url) && $request->url !== '/') { - throw new HttpException(404, 'Page not found'); - } +// if (!preg_match('@^\/(ru|ua).*@i', $request->url) && $request->url !== '/') { +// throw new HttpException(404, 'Page not found'); +// } $pathInfo = $request->getPathInfo(); $paths = explode('/', $pathInfo); -- libgit2 0.21.4