Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Plain Text by Henrik ( 14 years ago )
<?php
namespace MyModule;
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
return array(
'router' => array(
'routes' => array(
'home' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'options' => array(
'route' => '/',
'defaults' => array(
'controller' => 'MyModule\Controller\Index',
'action' => 'index',
),
),
),
'query' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'options' => array(
'route' => '/query',
'defaults' => array(
'controller' => 'MyModule\Controller\Index',
'action' => 'query',
),
),
),
),
),
'service_manager' => array(
'factories' => array(
'translator' => 'Zend\I18n\Translator\TranslatorServiceFactory',
),
),
'translator' => array(
'locale' => 'en_US',
'translation_file_patterns' => array(
array(
'type' => 'phparray',
'base_dir' => __DIR__ . '/../language',
'pattern' => '%s.php'
),
),
),
'controllers' => array(
'invokables' => array(
'MyModule\Controller\Index' => 'MyModule\Controller\IndexController'
),
),
'view_manager' => array(
'template_path_stack' => array(
'arobs-game-stats-page' => __DIR__ . '/../view',
),
'strategies' => array(
'ViewJsonStrategy',
),
),
'view_helpers' => array(
'invokables' => array(
'absoluteUrl' => 'MyModule\View\Helper\AbsoluteUrl',
),
)
);
Revise this Paste
Parent: 56324