summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigelCunningham2017-12-06 19:51:12 +0800
committerJohnAlbin2017-12-06 19:51:12 +0800
commitdca43cf74598531492d589883a1270efa6dffbce (patch)
tree62aa54251c5bc31ab0f1929e8097afc27d97b5a8
parent6819fbd9c7c6b75c2f79becd9c0df92040002360 (diff)
Issue #2144803 by NigelCunningham, grasmash: Call to undefined function _zen_theme() running Behat7.x-6.x
-rw-r--r--template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.php b/template.php
index 68eb7d0..8b03c32 100644
--- a/template.php
+++ b/template.php
@@ -26,7 +26,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/template.theme-registry.inc';
+ include_once DRUPAL_ROOT . '/' . drupal_get_path('theme', 'zen') . '/zen-internals/template.theme-registry.inc';
return _zen_theme($existing, $type, $theme, $path);
}