Multiple site & database from one tikiwiki directory?
I have a question?
Is it possible to make multiple site & database from one tikiwiki directory?
I have made softlink for the tikiwiki directory and depends on the softlink I connect to different database modifying the code in db/local.php like the followings:
$host_tiki = 'localhost';
$user_tiki = 'user name';
$pass_tiki = 'password';
$tikidomain = '';
if ($_SERVER'REQUEST_URI' == "/tiki2_yolo/") {
$dbs_tiki = 'tiki_yolo';
} elseif ($_SERVER'REQUEST_URI' == "/tiki3/") {
$dbs_tiki = 'tiki3';
} else{
$dbs_tiki = 'tiki3';
}
It does connect to different database.
But there are so many problem left...
I just wonder is there anybody did this..
Thanks for help.