gallery-api/config/autoload/mezzio.global.php

26 lines
791 B
PHP
Raw Normal View History

2017-07-21 19:59:16 +02:00
<?php
2020-04-23 18:26:12 +02:00
declare(strict_types=1);
2020-05-01 13:46:59 +02:00
use Laminas\ConfigAggregator\ConfigAggregator;
2017-07-21 19:59:16 +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-05-01 13:46:59 +02:00
'mezzio' => [
2017-07-21 19:59:16 +02:00
// Provide templates for the error handling middleware to use when
// generating responses.
'error_handler' => [
'template_404' => 'error::404',
'template_error' => 'error::error',
],
],
];