Skip to content

Commit

Permalink
Fix update to 2.5 code block
Browse files Browse the repository at this point in the history
  • Loading branch information
lopes-vincent authored May 11, 2023
1 parent e78409e commit 1f8a167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Module made for Thelia <= 2.4 are not compatible with the new version of Thelia,
```php
public static function configureServices(ServicesConfigurator $servicesConfigurator): void
{
$servicesConfigurator->load(self::getModuleCode().'\', DIR)
$servicesConfigurator->load(self::getModuleCode().'\\', __DIR__)
->exclude([THELIA_MODULE_DIR . ucfirst(self::getModuleCode()). "/I18n/*"])
->autowire(true)
->autoconfigure(true);
Expand Down

0 comments on commit 1f8a167

Please sign in to comment.