projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2bc455
)
shimmy - Remove old boilerplate for registering Smarty folder
author
Tim Otten
<totten@civicrm.org>
Wed, 18 Jan 2023 05:05:41 +0000
(21:05 -0800)
committer
Tim Otten
<totten@civicrm.org>
Thu, 19 Jan 2023 21:52:35 +0000
(13:52 -0800)
tests/extensions/shimmy/shimmy.civix.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/extensions/shimmy/shimmy.civix.php
b/tests/extensions/shimmy/shimmy.civix.php
index 8ed705ff741256c78637d1195ad6ad8788f42cf2..8dc907252cb7a840d93780b45bd9a539fc85a7a6 100644
(file)
--- a/
tests/extensions/shimmy/shimmy.civix.php
+++ b/
tests/extensions/shimmy/shimmy.civix.php
@@
-98,18
+98,7
@@
function _shimmy_civix_civicrm_config(&$config = NULL) {
}
$configured = TRUE;
- $template = CRM_Core_Smarty::singleton();
-
$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];
- }
-
$include_path = $extRoot . PATH_SEPARATOR . get_include_path();
set_include_path($include_path);