in reply to Re: aXML vs TT2
in thread aXML vs TT2

DSN information is stored in the site's private file, and if present automatically causes the system to use DBI and attempt to connect to the database.

Package Conf; our $conf = { 'sitetitle' => 'Acme Site', 'dsn' => 'DBI:mysql:forum:localhost:3306', 'dsn_username' => 'xxxx', 'dsn_password' => 'xxxxxx', '404' => '404', 'default_action' => 'default', 'doc_root' => '/var/www', 'debug' => 0 }; 1;

The values in the conf can also be accessed from within the document with the <conf> tag I.E:

<conf>sitetitle</conf> Output: ------- Acme Site