What I would do would be rework the routing so all requests go to a
controller no matter what path, and have the path be passed to an
argument for the action function. Then in the view have it use
include to get a page from the existing site. Something like this:
controller:
function index($url) {
$this->set('url',$url);
}
view:
include($url);
Why don't you use normal PHP authentication system? I'm sure there
are plenty.
On Jan 24, 6:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Basically, I want to use a pre-existing CakePHP user Authentication
> system as a quick and easy wrapper for a pre-existing website (content
> of website completely independent of CakePHP and its database, it just
> grants access). Is there a way I can create a path somewhere in my app
> directory that only uses the app_controller.php and not it's own
> controller?
>
> Thanks,
> Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---