Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.397 diff -u -p -r1.397 theme.inc --- includes/theme.inc 26 Nov 2007 16:36:42 -0000 1.397 +++ includes/theme.inc 28 Nov 2007 02:13:00 -0000 @@ -705,6 +705,14 @@ function path_to_theme() { } /** + * Returns the path from base to the currently selected theme. Useful + * for providing relative paths to files in the theme directory. + */ +function base_path_to_theme() { + return base_path() . path_to_theme(); +} + +/** * Find overridden theme functions. Called by themes and/or theme engines to * easily discover theme functions. *