##// END OF EJS Templates
Add BASE_URL in settings to work with proxys
Add BASE_URL in settings to work with proxys

File last commit:

r0:b84e1135c2c4
r18:5a8055e18e7b
Show More
isTrusted.py
16 lines | 340 B | text/x-python | PythonLexer
#!PYTHONEXE
"""isTrusted.py returns 1 if user trusted, 0 if not.
Simply calls madrigal.ui.web.MadrigalWeb.isTrusted. Need only to be called from
tcl cgi scripts.
$Id: isTrusted.py 7046 2019-10-07 19:57:14Z brideout $
"""
import os, os.path, sys
import madrigal.ui.web
webObj = madrigal.ui.web.MadrigalWeb()
print(webObj.isTrusted())