Gossamer Forum
Home : Products : DBMan : Discussions :

dbman in unique database

Quote Reply
dbman in unique database
Hi.
I use a unique database for dbman, the scripts is called restaurants.cgi and i don want send the link db=restaurant in the queries.
Is possible say to restaurant.cgi that use restaurant.db.

Thanks



Quote Reply
Re: dbman in unique database In reply to
In your restaurant.cgi file, look for the lines that read:
# Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = '');


Change default to restaurant

That should do it.

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/