nouveau-theatre-de-besancon/site/config/config.php
isUnknown 53a2ed8b0f webp
2024-09-19 14:20:55 +02:00

48 lines
No EOL
1.4 KiB
PHP

<?php
return [
'debug' => true,
'thumbs' => [
'quality' => 80,
'presets' => [
'grid' => 400,
'default' => [
'width' => 1024, 'format' => 'webp'
],
'full' => 2048,
'format' => 'webp'
],
'srcsets' => [
'default' => [
['width' => 200, 'format' => 'webp'],
['width' => 400, 'format' => 'webp'],
['width' => 600, 'format' => 'webp'],
['width' => 800, 'format' => 'webp'],
['width' => 1024, 'format' => 'webp'],
['width' => 1440, 'format' => 'webp'],
['width' => 2048, 'format' => 'webp']
],
],
],
'panel' => [
'css' => 'assets/css/panel.css'
],
'routes' => [
require_once(__DIR__ . '/routes/mapado-api.php'),
require_once(__DIR__ . '/routes/get-current-season-calendar.php'),
require_once(__DIR__ . '/routes/update-mapado-event.php'),
require_once(__DIR__ . '/routes/mapado-fetch.php'),
require_once(__DIR__ . '/routes/brevo-create-contact.php'),
require_once(__DIR__ . '/routes/virtual-search.php')
],
'hooks' => [
'page.update:after' => require_once(__DIR__ . '/hooks/update-mapado-event.php')
],
'date' => [
'handler' => 'intl'
],
'locale' => 'fr_FR.UTF-8',
'ticketingUrl' => 'https://cdn-besancon.mapado.com/',
'tobimori.seo.canonicalBase' => 'https://ntbesancon.fr',
'tobimori.seo.lang' => 'fr_FR',
];