Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.350 diff -u -p -r1.350 theme.inc --- includes/theme.inc 17 Apr 2007 07:19:38 -0000 1.350 +++ includes/theme.inc 24 Apr 2007 21:27:40 -0000 @@ -317,7 +317,11 @@ function theme() { // The theme call is a function. // Include a file if this theme function is held elsewhere. if (!empty($info['file'])) { - include_once($info['file']); + $function_file = $info['file']; + if (isset($info['path'])) { + $function_file = $info['path'] .'/'. $function_file; + } + include_once($function_file); } return call_user_func_array($info['function'], $args); }