Index: template.php =================================================================== --- template.php (revision 96) +++ template.php (working copy) @@ -35,7 +35,7 @@ * Implements HOOK_theme(). */ function zen_theme(&$existing, $type, $theme, $path) { - include_once './' . drupal_get_path('theme', 'zen') . '/template.theme-registry.inc'; + include_once dirname(__FILE__) . '/template.theme-registry.inc'; return _zen_theme($existing, $type, $theme, $path); } Index: theme-settings.php =================================================================== --- theme-settings.php (revision 96) +++ theme-settings.php (working copy) @@ -2,7 +2,7 @@ // $Id: theme-settings.php,v 1.6 2008/09/15 09:59:03 johnalbin Exp $ // Include the definition of zen_theme_get_default_settings(). -include_once './' . drupal_get_path('theme', 'zen') . '/template.theme-registry.inc'; +include_once dirname(__FILE__) . '/template.theme-registry.inc'; /** Index: www/sites/all/themes/zen/zen/template.theme-registry.inc =================================================================== --- template.theme-registry.inc (revision 96) +++ template.theme-registry.inc (working copy) @@ -47,7 +47,7 @@ // Compute the conditional stylesheets. if (!module_exists('conditional_styles')) { - include_once './' . drupal_get_path('theme', 'zen') . '/template.conditional-styles.inc'; + include_once dirname(__FILE__) . '/template.conditional-styles.inc'; // _conditional_styles_theme() only needs to be run once. if ($theme == 'zen') { _conditional_styles_theme($existing, $type, $theme, $path);