PHP Classes

File: template/Config/module.config.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Config/module.config.php   Download  
File: template/Config/module.config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 1,825 bytes
 

Contents

Class file image Download
<?php

/**
 * Melis Technology (http://www.melistechnology.com]
 *
 * @copyright Copyright (c] 2015 Melis Technology (http://www.melistechnology.com]
 *
 */

return [
   
'router' => [
       
'routes' => [
           
'melis-backoffice' => [
               
'child_routes' => [
                   
'application-ModuleTpl' => [
                       
'type' => 'Literal',
                       
'options' => [
                           
'route' => 'ModuleTpl',
                           
'defaults' => [
                               
'__NAMESPACE__' => 'ModuleTpl\Controller',
                            ],
                        ],
                       
'may_terminate' => true,
                       
'child_routes' => [
                           
'default' => [
                               
'type' => 'Segment',
                               
'options' => [
                                   
'route' => '/[:controller[/:action]]',
                                   
'constraints' => [
                                       
'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                       
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                    ],
                                   
'defaults' => [
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
   
'service_manager' => [
#TCSERVICES
   
],
   
'controllers' => [
       
'invokables' => [
#TCCONTROLLERS
       
],
    ],
   
'view_manager' => [
       
'template_map' => [
        ],
       
'template_path_stack' => [
           
__DIR__ . '/../view',
        ],
       
'strategies' => [
           
'ViewJsonStrategy',
        ],
    ],
];