prevent loading un-necssary modules when using a handled, thanks Paolo
This commit is contained in:
@@ -40,6 +40,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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user