title: Using multiple controller directories with Zend Framework
body: <p>I'm building a CMS with Zend Framework and my themes can support custom layout, view and controllers.</p>
  
  <p>If a theme has a custom layout i set the layout directory to theme directory. If a theme uses custom views i set the views directory to theme directory.</p>
  
  <p>But i'm stuck with contollers becase i want to use my default controllers as fallback. A theme will only have it's custom controllers not every controller. For example if it supports Image Gallery feature there must be a ImageGalleryController.php file but not IndexController or ErrorController controllers.</p>
  
  <p>To sum it up: A theme can override controllers if a controller exists in theme folder use it, else use the default.</p>
  
  <p>How can i do this? Thanks.</p>