Created
July 19, 2012 18:39
-
-
Save SocalNick/3145899 to your computer and use it in GitHub Desktop.
View Strategy config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
'view_manager' => array( | |
'display_not_found_reason' => false, | |
'display_exceptions' => false, | |
'doctype' => 'HTML5', | |
'not_found_template' => 'error/404', | |
'exception_template' => 'error/index', | |
'template_map' => array( | |
'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', | |
'index/index' => __DIR__ . '/../view/index/index.phtml', | |
'error/404' => __DIR__ . '/../view/error/404.phtml', | |
'error/index' => __DIR__ . '/../view/error/index.phtml', | |
), | |
'template_path_stack' => array( | |
__DIR__ . '/../view', | |
), | |
'mvc_strategies' => array( | |
'Ign\Mvc\View\LayoutRenderingStrategy', | |
), | |
'strategies' => array( | |
'ViewAcceptHeaderStrategy' => array( | |
'ViewJsonStrategy', | |
'ViewFeedStrategy', | |
'ViewTextHtmlStrategy', | |
), | |
'Ign\View\Strategy\EsiStrategy', | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment