opencart/opencart — pull request #141 by qualiadesign (2012-09-11 13:21:54+00:00)
Title: Fixes for SEO urls

- The homepage route needs to be rewritten as '/' when SEO urls are enabled.

- Also fixes a bug where subcategories that don't have an SEO keyword set will generate links to their parent category instead. This fix bails on the whole $url if any part of the path is missing a keyword.

- $searches should make it easier to add new rules for arbitrary routes in future.

- Adds utility method build() to Url library to take advantage of http_build_url() if it's installed on the server.