Index: theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.337 diff -u -p -r1.337 theme.inc --- theme.inc 11 Jan 2007 03:36:06 -0000 1.337 +++ theme.inc 18 Jan 2007 21:45:01 -0000 @@ -219,6 +219,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(); +} + +/** * Return the path to the currently selected engine. */ function path_to_engine() {