basz / SlmLocale

Auto detection of locale through different strategies for Zend Framework 2
Other
67 stars 34 forks source link

basePath no funciona #40

Closed joacub closed 5 years ago

joacub commented 10 years ago

$base = $this->getBasePath(); $found = $this->getFirstSegmentInPath($request->getUri(), $base);

esto no funciona devuelve un valor incorrecto parece que se ejecuta antes de que zf2 define el basepath

basz commented 10 years ago

english please...

what is the problem and where do you think it occurs?

slavcodev commented 10 years ago

@basz, UriPathStrategy::getBasePath() return empty value always, because it raise onBootstrap, but router base path filled in onRoute

kokspflanze commented 5 years ago

@svycka i think can be closed now