Exemple #1
0
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"])
Exemple #2
0
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'])
Exemple #4
0
def init():
    send_header()
    g['config'] = configFile(g['config_file']).recs()
    g['db'] = bwDB(filename=g['config']['db'], table=g['table_name'])
Exemple #5
0
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'])
Exemple #6
0
def init():
    send_header()
    g['config'] = configFile(g['config_file']).recs()
    g['db'] = bwDB(filename=g['config']['db'], table=g['table_name'])
Exemple #7
0
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"])