Home
last modified time | relevance | path

Searched refs:environ (Results 1 – 9 of 9) sorted by relevance

/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/py/
H A Dfckconnector.py38 def __init__(self, environ=None): argument
42 if environ:
43 self.environ = environ
45 self.environ = os.environ
55 def __init__(self, environ): argument
56 if environ: # WSGI
58 environ=environ,
60 self.environ = environ
62 self.environ = os.environ
64 if 'REQUEST_METHOD' in self.environ and 'QUERY_STRING' in self.environ:
[all …]
H A Dwsgi.py36 def App(environ, start_response): argument
38 if environ['SCRIPT_NAME'].endswith("connector.py"):
39 conn = FCKeditorConnector(environ)
40 elif environ['SCRIPT_NAME'].endswith("upload.py"):
41 conn = FCKeditorQuickUpload(environ)
45 yield environ['SCRIPT_NAME']
H A Dfckutil.py97 def mapServerPath( environ, url): argument
101 return combinePaths( getRootPath(environ), url )
106 def getRootPath(environ): argument
111 if environ.has_key('DOCUMENT_ROOT'):
112 return environ['DOCUMENT_ROOT']
115 selfPath = environ['SCRIPT_FILENAME']
H A Dupload.py60 self.userFilesFolder = mapServerPath(self.environ,
H A Dconnector.py77 self.userFilesFolder = mapServerPath(self.environ,
H A Dzope.py47 FCKeditorConnector.__init__(self, environ=None) # call superclass constructor
/plugin/wysiwyg/fckeditor/_samples/py/
H A Dsample01.py55 sBasePath = os.environ.get("SCRIPT_NAME")
72 for key in os.environ.keys():
73 print "%s: %s<br>" % (key, os.environ.get(key, ""))
H A Dsampleposteddata.py77 for key in os.environ.keys():
78 print "%s: %s<br>" % (key, os.environ.get(key, ""))
/plugin/wysiwyg/fckeditor/
H A Dfckeditor.py112 if (os.environ.has_key("HTTP_USER_AGENT")):
113 sAgent = os.environ.get("HTTP_USER_AGENT", "")