source: src/webapp/apigility/module/Application/config/module.config.php@ cb39a77

debian/bullseye
Last change on this file since cb39a77 was 74c3571, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago

Added gnuboat_mapservice:

it is a REST webservice designed with Apigility to allow the user to upload data, create waters and so on

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[74c3571]1<?php
2/**
3 * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
4 * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
5 */
6
7namespace Application;
8
9use Zend\ServiceManager\Factory\InvokableFactory;
10
11return [
12 'router' => [
13 'routes' => [
14 'home' => [
15 'type' => 'Literal',
16 'options' => [
17 'route' => '/',
18 'defaults' => [
19 'controller' => Controller\IndexController::class,
20 'action' => 'index',
21 ],
22 ],
23 ],
24 ],
25 ],
26 'controllers' => [
27 'factories' => [
28 Controller\IndexController::class => InvokableFactory::class,
29 ],
30 ],
31 'view_manager' => [
32 'display_not_found_reason' => true,
33 'display_exceptions' => true,
34 'doctype' => 'HTML5',
35 'not_found_template' => 'error/404',
36 'exception_template' => 'error/index',
37 'template_map' => [
38 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
39 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml',
40 'error/404' => __DIR__ . '/../view/error/404.phtml',
41 'error/index' => __DIR__ . '/../view/error/index.phtml',
42 ],
43 'template_path_stack' => [
44 __DIR__ . '/../view',
45 ],
46 ],
47];
Note: See TracBrowser for help on using the repository browser.