summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}