From 1db3b8410af51ad1e7abb1bcdd9495865a0adb2c Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Thu, 25 Oct 2012 15:05:34 -0500
Subject: [PATCH] [gh-493] Fix this in the profile as well

---
 profiles/unl_profile/unl_profile.install | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install
index 4d6e0e32..a58ecdab 100644
--- a/profiles/unl_profile/unl_profile.install
+++ b/profiles/unl_profile/unl_profile.install
@@ -352,6 +352,9 @@ EOF;
  * Load the default site's config file and return the db_prefix value from it.
  */
 function unl_profile_get_default_site_db_settings() {
+  if (file_exists(DRUPAL_ROOT . '/sites/all/settings.php')) {
+    require DRUPAL_ROOT . '/sites/all/settings.php';
+  }
   $default_site_settings_file = DRUPAL_ROOT . '/sites/default/settings.php';
   require $default_site_settings_file;
 
-- 
GitLab