Recently i implemented a controller that receive all requests, manage
them and do all needed request actions, and them put all request
action results into layout vars (using $this->set).
Didn't needed any core hack or crazy implementations, just a
controller that receive all the params, manage them, and put the right
contents in the right variables.
What i didn't understand when, was why can't i do a route that send
all requests to my controller,
i.e. : $Route->connect('/*', array('controller' => 'homes', 'action'
=> 'index'));
so i resolved that "problem", making a hack on bootstrap.php changing
the $_GET['url'] variable (that will be dispatched by Dispatcher)
ps. i'm using 1.1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---