Skip to content

Commit

Permalink
Merge pull request #71 from jaapjansma/civi_5_69_compatibility
Browse files Browse the repository at this point in the history
CiviCRM 5.69 Compatibility
  • Loading branch information
bjendres authored Jan 30, 2024
2 parents f3a299d + 755c4d4 commit 8a3310c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bic.civix.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,7 @@ function _bic_civix_civicrm_config(&$config = NULL) {

$extRoot = __DIR__ . DIRECTORY_SEPARATOR;
$extDir = $extRoot . 'templates';

if (is_array($template->template_dir)) {
array_unshift($template->template_dir, $extDir);
}
else {
$template->template_dir = [$extDir, $template->template_dir];
}
$template->addTemplateDir($extDir);

$include_path = $extRoot . PATH_SEPARATOR . get_include_path();
set_include_path($include_path);
Expand Down

0 comments on commit 8a3310c

Please sign in to comment.