settings.is_source

This commit is contained in:
mdipierro
2013-08-08 03:25:10 -05:00
parent 856b6d658e
commit 182192857f
4 changed files with 13 additions and 1 deletions
+3
View File
@@ -36,3 +36,6 @@ global_settings.is_jython = \
'java' in sys.platform.lower() or \
hasattr(sys, 'JYTHON_JAR') or \
str(sys.copyright).find('Jython') > 0
global_settings.is_source = os.path.exists(os.path.join(
global_settings.gluon_parent,'web2py.py'))