Skip to content

Commit

Permalink
fix incorrect removal of config_local
Browse files Browse the repository at this point in the history
  • Loading branch information
mollux committed Oct 9, 2023
1 parent 4eea045 commit fa342f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/bundles/MessengerBundle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Currently, 2 messages are defined.
* [PageHitNotification](app/bundles/MessengerBundle/Message/PageHitNotification.php)

## Configuring transports
> there is new serializer available, that uses JSON and has smaller payload than native php **'messenger.transport.jms_serializer'** that is recommended to use. You can place the following configuration sample to any config file where `$container` is available. For example `config/local.php`
> there is new serializer available, that uses JSON and has smaller payload than native php **'messenger.transport.jms_serializer'** that is recommended to use. You can place the following configuration sample to any config file where `$container` is available. For example `config/config_local.php`
```php
$container->loadFromExtension('framework', [
'messenger' => [
Expand Down
4 changes: 2 additions & 2 deletions app/config/config_dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@
}

// Allow local settings without committing to git such as swift mailer delivery address overrides
if (file_exists($root.'/../config/local.php')) {
$loader->import($root.'/../config/local.php');
if (file_exists($root.'/../config/config_local.php')) {
$loader->import($root.'/../config/config_local.php');
}
4 changes: 2 additions & 2 deletions app/config/config_prod.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@
}

// Allow local settings without committing to git such as swift mailer delivery address overrides
if (file_exists($root.'/../config/local.php')) {
$loader->import($root.'/../config/local.php');
if (file_exists($root.'/../config/config_local.php')) {
$loader->import($root.'/../config/config_local.php');
}

0 comments on commit fa342f4

Please sign in to comment.