sms-store/config/autoload/mezzio.global.php

28 lines
969 B
PHP
Raw Normal View History

2017-09-03 17:51:59 +02:00
<?php
2020-09-07 20:54:56 +02:00
use Laminas\ConfigAggregator\ConfigAggregator;
2017-09-03 17:51:59 +02:00
return [
// Toggle the configuration cache. Set this to boolean false, or remove the
// directive, to disable configuration caching. Toggling development mode
// will also disable it by default; clear the configuration cache using
// `composer clear-config-cache`.
ConfigAggregator::ENABLE_CACHE => true,
// Enable debugging; typically used to provide debugging information within templates.
'debug' => false,
2020-09-07 20:54:56 +02:00
'mezzio' => [
2017-09-03 17:51:59 +02:00
// Enable programmatic pipeline: Any `middleware_pipeline` or `routes`
// configuration will be ignored when creating the `Application` instance.
'programmatic_pipeline' => true,
// Provide templates for the error handling middleware to use when
// generating responses.
'error_handler' => [
'template_404' => 'error::404',
'template_error' => 'error::error',
],
],
];