mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
10 lines
275 B
PHP
10 lines
275 B
PHP
<?php
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $container) {
|
|
|
|
// kernel.secret
|
|
$container->parameters()->set('kernel.secret', MetaModel::GetConfig()->Get('application.secret'));
|
|
|
|
}; |