Victor,
A quick grep shows that the config.php is called only once
through the core/global.inc.php.
You could do a work around by adding a simple statement in
this file, examle:
Original:
// Configuration
define('CONFIG_DIR', BW_ROOT . "
/application/config/");
define('CONFIG_FILE', CONFIG_DIR . "config.php");
New Version:
// Configuration
define('CONFIG_DIR', BW_ROOT . "
/application/config/");
switch ( $_REQUEST['dbconfig'] ) {
case "MyOtherDB1":
define('CONFIG_FILE', CONFIG_DIR . "MyOtherDB1Config.php");
break;
case "MyOtherDB2":
define('CONFIG_FILE', CONFIG_DIR . "MyOtherDB2Config.php");
break;
default:
define('CONFIG_FILE', CONFIG_DIR . "config.php");
break;
}
Now copy the configuration file to create the two new named
files, adjust their configuration for each database.
To Access the default Database, go to your URL
http://www.example.com/bacula-web.
To Access the the others use
http://www.example.com/bacula-web/?dbconfig=MyOtherDB1Config.php
http://www.example.com/bacula-web/?dbconfig=MyOtherDB2Config.php
You could simply either save some favorites or make another
webpage to call the different options. Even a container page
that has the form at top and target an iframe to load the
content.
I haven't tested this, it just an idea to save you multiple
installs.