Hey bakers,

I am building an application that has 6 databases.  Some of the tables
are called the same name.  I have organized my controllers/views into
sub directorys for each database.

eg.

controllers/
    db1/
        users_controller.php
    db2/
        users_controller.php

The Problem:

How can i point the url to the right controller?

For example (doesn't work)....

Router::connect('/db1/users/*', array('controller' => '/db1/users',
'action' => 'index'));
Router::connect('/db2/users/*', array('controller' => '/db2/users',
'action' => 'index'));

The most obvious thing is just to make all the controller (models)
names unique.  but i would like to know if there are any other ways to
get around this issue.

Cheers,
Trav.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to