Hi Jakub
You can do it by catching Zend_Controller_Dispatcher_Exception, smth like:
try
{
$frontController->dispatch();
}
catch(Zend_Controller_Dispatcher_Exception $e)
{
// here goes the code to handle situation with undefined controller
}
Regards
Bartosz
2007/2/16, Jakub Podhorský <[EMAIL PROTECTED]>:
Hello,
I have one question. How to provide to call some default controller if there
is called some undefined controller.
Example:
I call: http://mywebsite.com/myDefinedController
This will show some output
And if I call: http://mywebsite.com/myUndefinedController
I want to check if this controller exist and if it doesnt I want to redirect
it on some NotFoundController or any default or by myself defined
controller.
Thanks for any help
Jakub Podhorský