I'm currently working on a multi-site Drupal installation. There is one theming module shared by all instances which exposes some key blocks and views they all require. During development, this was built on the initial site, so occasionally you will find something like this in the module:
<?php
function load_my_image() {
$path = base_path().
drupal_get_path('theme', 'my_theme').
'/images/my-image.gif';
return $path;
}
?>That works fine for as long as 'my_theme' exists, but what if it doesn't on another instance using this module?
