Drupal 7 version of ucb_envconf