...
'view_manager' => array(
'display_not_found_reason' => true,
'display_exceptions' => true,
'doctype' => 'HTML5',
'not_found_template' => 'error/404',
'exception_template' => 'error/index',
'template_map' => array(
// переопределенная карта шаблонов
'layout/layout' => 'public/template/' . 'default' . '/layout/layout.phtml',
'frontend/index/index' => 'public/template/' . 'default' . '/frontend/index/index.phtml',
'error/404' => 'public/template/' . 'default' . '/error/404.phtml',
'error/index' => 'public/template/' . 'default' . '/error/index.phtml',
),
'template_path_stack' => array(
// задаем каталог, в котором размещаем файлы представления (view)
'public/template/' . 'default',
),