Zend Framework Fehlerbehandlung

Ich würde gerne die Standard-ErrorCongtroller, behandeln Fehler. Ich registrierte es als ein front controller plugin und es tut sich nix. Sollte ich etwas anderes zu fangen, nicht existierenden Controllern und actions oder sollte ich code hinzufügen, um die anderen Controller?
Hier der code-snippet für die Registrierung:

$front = Zend_Controller_Front::getInstance();
$front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
$front->returnResponse(true);
$front->throwExceptions(true);

InformationsquelleAutor Hubidubi | 2010-01-23

Schreibe einen Kommentar