How to implement a CMS into Zend Framework

I was considering simply using the error controller to check for a page existing in the db before displaying its error results. This seems like it would do exactly what I would need it to do as ZF already checks for existing folders first, then the controller, then passes the request to the error controller.

Does anyone see any problems with this or maybe have any alternatives if there are?