prevent loading un-necssary modules when using a handled, thanks Paolo
This commit is contained in:
1 parent
cf76978a39
commit
fc7c1bd2de
9 files changed
+43
-27
No files matched your search
@@ -62,6 +62,9 @@ if not os.path.isdir('applications'):
|
||||
|
||||
sys.path = [path] + [p for p in sys.path if not p == path]
|
||||
|
||||
from gluon.settings import global_settings
|
||||
global_settings.web2py_runtime_handler = True
|
||||
|
||||
import gluon.main
|
||||
|
||||
wsgiref.handlers.CGIHandler().run(gluon.main.wsgibase)
|
||||
Reference in new issue
Block a user