B. Johannessen wrote:
Praneet Kandula wrote:
On 10/15/05, Lukas Kahwe Smith smith@pooteeweet.org wrote:
I just made the backend selectable and integrated the MDB2 backend ..
For this I moved the inclusion of the rcube_db.inc frm the index.php file into main.inc. I also added a new config option 'db_backend' to db.inc.php.
Wow, thanks a lot for this, Lukas. For those that don't know, Lukas Smith is a key member of the PEAR group, and the lead developer of MDB2, which is supposed to be the replacement for PEAR::DB. I hope we accept this patch in!
Actually I stepped down from the PEAR Group a while back. But I am still quite active in the PEAR project.
FYI: Lukas isn't on the list yet, so for now please keep him in the To:/Cc: on any replies concerning MDB2.
I just subscribed.
Anyways I noticed that you have structured the code in a way that I personally consider one of my pet peeves. Here is how I have structured the directory layout for my framework: http://oss.backendmedia.com/WebBuilder2/DirectoryTree
Notice that inside the public html dir there are only files which users are allowed to read and none of the includes or config files. This is a much safer layout that is much less likely to cause security issues due to minor config issues.
regards, Lukas