Hi everyone,
I just ran into something again that I wanted to bring up concerning
PEAR::DB and creation of branch sites. I didn't realise that it was a
problem until recently, but forgot to mention it. When creating a branch
site, Branch.php checks for the existence of the database via
database.php line 1251 (current cvs) $this->db->getlistOf("databases").
The getlistOf() function is only able to get information that is
available to the current user that the hub site is logged in as. This
creates a situation when creating a branch site that you must use the
same user/password combination for all branch sites.
I think checking to see if the database exists is essential, however,
this method isn't truely able to give relevant data on the subject ;)
I don't have any suggestions on how to better do this, but did want to
discuss.
Wendall
--
"Only the ideas that we really live have any value." --Hermann Hesse
(Demian)
|