Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Default.cfg??

Quote Reply
Default.cfg??
Hi all...I just got Dbmansql installed...fixed the "mod" glitch ... noticed another..when "logon" dg.cgi calls for db.cfg..but when running "signup" db.cgi calls for default.cfg....can locate were to make the code change so the calls the same... can anyone direct me on this...thanks Rob

Quote Reply
Re: Default.cfg?? In reply to
In Reply To:
"logon" dg.cgi calls for db.cfg..but when running "signup" db.cgi calls for default.cfg....can locate were to make the code change so the calls the same... can anyone direct me on this...thanks Rob
Look for these lines right up near the top of your db.cgi file :

# Load the form information and set the config file and userid.
%in = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = 'default');


Hope that helps



easy does it