Skip to content

Commit

Permalink
COMCL-593: Register Smarty_UserContentPolicy service manually
Browse files Browse the repository at this point in the history
We are registering this service manually because the auto-service (by ID) doesn't work as expected in the current version (5.51.3)
  • Loading branch information
olayiwola-compucorp committed Jul 2, 2024
1 parent 4f58d1f commit 5fbf17b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Civi/Core/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ public function createContainer() {
[]
))->setPublic(TRUE);

$container->setDefinition('civi.smarty.userContent', new Definition(
'CRM_Core_Smarty_UserContentPolicy',
[]
))->setPublic(TRUE);

$container->setDefinition('themes', new Definition(
'Civi\Core\Themes',
[]
Expand Down

0 comments on commit 5fbf17b

Please sign in to comment.