suncat2000 / MobileDetectBundle

Symfony 2/3/4 bundle for detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
397 stars 154 forks source link

If request scope is not active in the container #31

Closed notrix closed 11 years ago

notrix commented 11 years ago

In constructor is a check if isScopeActive('request') and if not it leaves request empty. I got exceptions then other methods try to access empty request