✨ feat(i18n): Ajoute traductions et internationalisation pour pages légales.
Ajoute le support multilingue pour les pages légales (RGPD, CGU, CGV, Mentions Légales, Cookies, Hébergement) et la page À propos, incluant les traductions en français et en anglais. Désactive aussi le sitemap pour les pages home et about.
This commit is contained in:
BIN
public/assets/images/marta.jpg
Normal file
BIN
public/assets/images/marta.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 392 KiB |
BIN
public/assets/images/shoko.jpg
Normal file
BIN
public/assets/images/shoko.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
@@ -1,21 +1,10 @@
|
||||
<?php
|
||||
ini_set('memory_limit', '-1');
|
||||
|
||||
use App\Kernel;
|
||||
|
||||
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||||
|
||||
return function (array $context) {
|
||||
|
||||
if($_ENV['APP_ENV'] == "prod") {
|
||||
\Sentry\init([
|
||||
'dsn' => $_ENV['SENTRY_DSN'],
|
||||
// Specify a fixed sample rate
|
||||
'traces_sample_rate' => 1.0,
|
||||
// Set a sampling rate for profiling - this is relative to traces_sample_rate
|
||||
'profiles_sample_rate' => 1.0,
|
||||
// Enable logs to be sent to Sentry
|
||||
'enable_logs' => true,
|
||||
]);
|
||||
}
|
||||
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user