def init(): g["cgi"] = bwCGI() g["cgi"].send_header() g["vars"] = g["cgi"].vars() g["linkback"] = g["cgi"].linkback() g["config"] = configFile(g["config_file"]).recs() g["tl"] = tlFile(None, showUnknowns=True) g["db"] = bwDB(filename=g["config"]["db"], table=g["table_name"])
def init(): g['cgi'] = bwCGI() g['cgi'].send_header() g['vars'] = g['cgi'].vars() g['linkback'] = g['cgi'].linkback() g['config'] = configFile(g['config_file']).recs() g['tl'] = tlFile(None, showUnknowns = True) g['db'] = bwDB( filename = g['config']['db'], table = g['table_name'] )
def init(): g['cgi'] = bwCGI() g['vars'] = g['cgi'].vars() g['config'] = configFile(g['config_file']).recs() g['db'] = bwDB(filename=g['config']['db'], table=g['table_name'])
def init(): send_header() g['config'] = configFile(g['config_file']).recs() g['db'] = bwDB(filename=g['config']['db'], table=g['table_name'])
def init(): g['cgi'] = bwCGI() g['vars'] = g['cgi'].vars() g['config'] = configFile(g['config_file']).recs() g['db'] = bwDB(filename = g['config']['db'], table = g['table_name'])
def init(): g["cgi"] = bwCGI() g["vars"] = g["cgi"].vars() g["config"] = configFile(g["config_file"]).recs() g["db"] = bwDB(filename=g["config"]["db"], table=g["table_name"])