This commit is contained in:
yumoqing 2024-11-25 17:22:50 +08:00
parent 6eda9a96c9
commit f74c3726e9

View File

@ -166,10 +166,15 @@ def file_download(request,path,name,coding='utf8'):
request.write(b)
request.finish()
def paramify(data, ns):
ac = ArgsConvert('${', '}$')
return ac.convert(data, ns)
def initEnv():
pool = DBPools()
g = ServerEnv()
set_builtins()
g.paramify = paramify
g.configValue = configValue
g.visualcoding = visualcoding
g.uriop = URIOp