i write custom error handler (redirect to main page after e404) from
here:
http://cakebaker.wordpress.com/2006/06/15/writing-a-custom-error-handler/
and then i have blank page

so i write only redirect to test what's going on and then also i have
blank page:

class HomeController extends AppController
{
    var $name = 'Home';

    function re()
    {
      $this->redirect('/users/login');
    }
}

and then i call it http://site.com/home/re and i have blank page
instead of /users/login or whatever else.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to