summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigelCunningham2017-12-06 11:47:57 (GMT)
committerJohnAlbin2017-12-06 11:47:57 (GMT)
commit82b75e3a9fe70a7c20a92a52336d46e3cae9020e (patch)
treea036d8a5d826d15d37c2ef0e8c0cf637d46e6870
parent6cb065fd429dff2b026b37e0a263e4952f1c76b0 (diff)
Issue #2144803 by NigelCunningham, grasmash: Call to undefined function _zen_theme() running Behat7.x-5.x
-rw-r--r--template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.php b/template.php
index e41b72e..110635d 100644
--- a/template.php
+++ b/template.php
@@ -24,7 +24,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);
}