requires version

This commit is contained in:
mdipierro
2016-03-19 12:05:19 -05:00
parent f6f946f867
commit 9735477c35
+3
View File
@@ -5,6 +5,9 @@
## File is released under public domain and you can use without limitations
#########################################################################
if request.global_settings.web2py_version < "2.13.3":
raise HTTP(500, "Requires web2py 2.13.3 or newer")
## if SSL/HTTPS is properly configured and you want all HTTP requests to
## be redirected to HTTPS, uncomment the line below:
# request.requires_https()