Browse Source

add user agent string for opera mobile

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
5ee6440a21
  1. 1
      pyweb/mumble/views.py

1
pyweb/mumble/views.py

@ -36,6 +36,7 @@ from mmobjects import *
def redir( request ):
""" Redirect to the servers list. """
if request.META['HTTP_USER_AGENT'].startswith( 'BlackBerry' ) or \
"Opera Mobi" in request.META['HTTP_USER_AGENT'] or \
"Opera Mini" in request.META['HTTP_USER_AGENT'] or \
"Windows CE" in request.META['HTTP_USER_AGENT'] or \
"MIDP" in request.META['HTTP_USER_AGENT'] or \

Loading…
Cancel
Save