Skip to content

Instantly share code, notes, and snippets.

@SocalNick
Created July 19, 2012 18:39

Revisions

  1. SocalNick created this gist Jul 19, 2012.
    30 changes: 30 additions & 0 deletions module.config.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    <?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',
    ),
    ),
    );