summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigelCunningham2017-12-06 12:00:54 (GMT)
committerJohnAlbin2017-12-06 12:01:09 (GMT)
commit419d8d6d64ad55342f840ce8e60010bf43bf4be2 (patch)
treedad41f5c3c637813782b9a645c149e3777bd4ab3
parent76b0a5cd8dd2d8a7f65c7ffe6778c31135ea1ee5 (diff)
Issue #2144803 by NigelCunningham, grasmash: Call to undefined function _zen_theme() running BehatHEAD8.x-7.x
-rw-r--r--zen.theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen.theme b/zen.theme
index e2a0fca..6593a6f 100644
--- a/zen.theme
+++ b/zen.theme
@@ -32,7 +32,7 @@ if (theme_get_setting('zen_rebuild_registry') && !defined('MAINTENANCE_MODE')) {
* Implements HOOK_theme().
*/
function zen_theme(&$existing, $type, $theme, $path) {
- include_once './' . drupal_get_path('theme', 'zen') . '/zen-internals/theme-registry.inc';
+ include_once DRUPAL_ROOT . '/' . drupal_get_path('theme', 'zen') . '/zen-internals/theme-registry.inc';
return _zen_theme($existing, $type, $theme, $path);
}