Commit ff75928d48a684c7afc41727116f5968b0948eac
1 parent
fbd84203
-Url ru - ua hot fix undo, got some problem with catalog/product
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
CatalogUrlManager.php
| @@ -25,11 +25,12 @@ | @@ -25,11 +25,12 @@ | ||
| 25 | public function parseRequest($manager, $request) | 25 | public function parseRequest($manager, $request) |
| 26 | { | 26 | { |
| 27 | /** | 27 | /** |
| 28 | - * Fast url fix | 28 | + * Fast url fix. |
| 29 | + * Did not helped with catalog products | ||
| 29 | */ | 30 | */ |
| 30 | - if (!preg_match('@^\/(ru|ua).*@i', $request->url) && $request->url !== '/') { | ||
| 31 | - throw new HttpException(404, 'Page not found'); | ||
| 32 | - } | 31 | +// if (!preg_match('@^\/(ru|ua).*@i', $request->url) && $request->url !== '/') { |
| 32 | +// throw new HttpException(404, 'Page not found'); | ||
| 33 | +// } | ||
| 33 | 34 | ||
| 34 | $pathInfo = $request->getPathInfo(); | 35 | $pathInfo = $request->getPathInfo(); |
| 35 | $paths = explode('/', $pathInfo); | 36 | $paths = explode('/', $pathInfo); |