Skip to content

Commit

Permalink
Set environment variable CIVICRM_SMARTY_AUTOLOAD_PATH to an empty s…
Browse files Browse the repository at this point in the history
…tring to avoid a PHP error
  • Loading branch information
Dominic Tubach committed Sep 4, 2024
1 parent 34deb2b commit dc26106
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ services:
- DEBUG=ON
- SMTP_HOST=localhost
- SMTP_MAILDOMAIN=example.org
# Currently required to avoid this error:Fatal error:
# Cannot declare class Smarty, because the name is already in use in /var/www/html/sites/all/modules/civicrm/packages/smarty5/Smarty.php on line 4
- CIVICRM_SMARTY_AUTOLOAD_PATH=
volumes:
- ../:/var/www/html/sites/default/files/civicrm/ext/de.systopia.remotetools:${BIND_VOLUME_PERMISSIONS:-ro}
- /var/www/html/sites/default/files/civicrm/ext/de.systopia.remotetools/vendor
Expand Down

0 comments on commit dc26106

Please sign in to comment.