I agree, but what are the other options?

Mark

On 1/28/07, Lepidosteus <[EMAIL PROTECTED]> wrote:
> > try {
> >     $controller->dispatch();
> > } catch (Exception $e) {
> >     // redirect to error page
> >     header('Location: /index/error/');
> > }

Note that this will also send to the error page if the
controller/action is found but throw an unhandled exception.
You may get headaches with this one.

--
Vianney Devreese - Lepidosteus
http://lepidosteus.com



--
Have fun or die trying - but try not to actually die.

Reply via email to