Your previous code is extremely unsecure and uses bad logic.
If your views name is sitemap.ctp within /views/pages/, the url would
be /pages/sitemap/.
If you want it to just be /sitemap, you would have to do some routing.
Router::connect('/sitemap', array('controller' => 'pages', 'action' =>
'display', 'sitemap'));
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---