better fix for patch 414, starting web2py from other folder
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.9.5-trunk+timestamp.2014.03.29.00.57.10
|
||||
Version 2.9.5-trunk+timestamp.2014.03.29.17.06.19
|
||||
|
||||
@@ -45,4 +45,7 @@ if 'adminLanguage' in request.cookies and not (request.cookies['adminLanguage']
|
||||
T.force(request.cookies['adminLanguage'].value)
|
||||
|
||||
#set static_version
|
||||
response.static_version = open('VERSION').read().split(' ',1)[1].split('-')[0]
|
||||
from gluon.settings import global_settings
|
||||
response.static_version = global_settings.web2py_version.split('-')[0]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user