request.folder no longer ends with os.sep
This commit is contained in:
1 parent
66d5faf78f
commit
18da4fa7fd
3 files changed
+4
-4
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
# For Google App Engine deployment, copy this file to app.yaml
|
# For Google App Engine deployment, copy this file to app.yaml
|
||||||
# and edit as required
|
# and edit as required
|
||||||
# See http://code.google.com/appengine/docs/python/config/appconfig.html
|
# See https://cloud.google.com/appengine/docs/standard/python/config/appref
|
||||||
# and http://web2py.com/book/default/chapter/11?search=app.yaml
|
# and http://www.web2py.com/book/default/chapter/13#Deploying-on-Google-App-Engine
|
||||||
|
|
||||||
application: yourappname
|
application: yourappname
|
||||||
version: 1
|
version: 1
|
||||||
|
|||||||
+1
-1
@@ -357,7 +357,7 @@ def wsgibase(environ, responder):
|
|||||||
|
|
||||||
request.update(
|
request.update(
|
||||||
client=client,
|
client=client,
|
||||||
folder=abspath('applications', app) + os.sep,
|
folder=abspath('applications', app),
|
||||||
ajax=x_req_with == 'xmlhttprequest',
|
ajax=x_req_with == 'xmlhttprequest',
|
||||||
cid=env.http_web2py_component_element,
|
cid=env.http_web2py_component_element,
|
||||||
is_local=(env.remote_addr in local_hosts and client == env.remote_addr),
|
is_local=(env.remote_addr in local_hosts and client == env.remote_addr),
|
||||||
|
|||||||
+1
-1
Submodule gluon/packages/dal updated: 49c5ec284d...e973f27b69.
Reference in new issue
Block a user