I took a quick look at it, I think the only necesarry edit is to change:
Quote:
// -----------------------------------
// $DB is just easier to type ...
// -----------------------------------
$DB=$DB_site;
|
into
Quote:
// -----------------------------------
// $DB is just easier to type ...
// -----------------------------------
$DB=$db;
|
Btw, I did a test, copied some templates, and it worked. But it's still at own risk!