nouveau-theatre-de-besancon/site/config/config.php

49 lines
1.5 KiB
PHP
Raw Normal View History

<?php
return [
'debug' => true,
2024-07-30 12:07:47 +02:00
'thumbs' => [
'quality' => 80,
'presets' => [
'default' => [
'width' => 1024, 'format' => 'webp'
],
'full' => 2048, 'format' => 'webp'
],
'srcsets' => [
'default' => [
'200w' => ['width' => 400],
'400w' => ['width' => 800],
'800w' => ['width' => 1600],
'1024w' => ['width' => 2048],
'1440w' => ['width' => 2880],
'2048w' => ['width' => 4096]
],
'webp' => [
'200w' => ['width' => 400, 'format' => 'webp'],
'400w' => ['width' => 800, 'format' => 'webp'],
'800w' => ['width' => 1600, 'format' => 'webp'],
'1024w' => ['width' => 2048, 'format' => 'webp'],
'1440w' => ['width' => 2880, 'format' => 'webp'],
'2048w' => ['width' => 4096, 'format' => 'webp']
]
],
],
2024-07-29 18:41:34 +02:00
'panel' => [
'css' => 'assets/css/panel.css'
],
'routes' => [
2024-07-29 08:57:35 +02:00
require_once(__DIR__ . '/routes/mapado-api.php'),
2024-08-28 08:46:00 +02:00
require_once(__DIR__ . '/routes/month-dates.php'),
require_once(__DIR__ . '/routes/update-mapado-event.php'),
2024-07-30 19:03:01 +02:00
],
'hooks' => [
'page.update:after' => require_once(__DIR__ . '/hooks/update-mapado-event.php')
],
'date' => [
'handler' => 'intl'
],
2024-07-31 12:09:03 +02:00
'locale' => 'fr_FR.UTF-8',
'ticketingUrl' => 'https://cdn-besancon.mapado.com/',
2024-09-02 16:32:21 +02:00
'stockThreshold' => 15,
];