X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fviews%2Fhelpers%2FLocaleSwitcher.php;h=68ea4ff4a1e63fbce254f2409b4e5cf2a59c4007;hb=1f6105289a49079809c2a4677b561bc82c62db88;hp=cd4e26d3b7cfae54c62dcfd63907ba515decc047;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/views/helpers/LocaleSwitcher.php b/application/views/helpers/LocaleSwitcher.php index cd4e26d..68ea4ff 100644 --- a/application/views/helpers/LocaleSwitcher.php +++ b/application/views/helpers/LocaleSwitcher.php @@ -1,5 +1,5 @@ getList(); $current = $translator->getLocale(); - $requestUri = Zend_Controller_Front::getInstance()->getRequest()->getRequestUri(); + $requestUri = $this->view->UriPath(); $links = array(); foreach ($availables as $lang) {