designtopack/public/site/config/config.php

29 lines
662 B
PHP
Raw Normal View History

2024-07-10 16:10:33 +02:00
<?php
return [
'debug' => true,
'smartypants' => true,
'locale' => 'fr_FR.utf-8',
'date' => [
'handler' => 'intl'
],
2024-07-10 16:10:33 +02:00
'api' => [
'basicAuth' => true,
// Enable api access without SSL. To disable in production.
'allowInsecure' => true
],
'panel' => [
'language' => 'fr',
'css' => 'assets/css/panel.css',
'favicon' => 'assets/favicons/favicon.svg',
2024-09-11 07:32:34 +02:00
'menu' => require(__DIR__ . '/menu.php'),
2024-09-10 12:09:53 +02:00
],
'routes' => [
2024-09-11 07:32:34 +02:00
require(__DIR__ . '/routes/logout.php'),
require(__DIR__ . '/routes/toggle-favorite.php'),
2024-09-18 13:05:55 +02:00
],
'hooks' => [
'page.create:after' => require_once(__DIR__ . '/hooks/create-steps.php')
2024-07-10 16:10:33 +02:00
]
];