Skip to content
Snippets Groups Projects
Commit 1db3b841 authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-493] Fix this in the profile as well

parent 1f45337d
No related branches found
No related tags found
No related merge requests found
...@@ -352,6 +352,9 @@ EOF; ...@@ -352,6 +352,9 @@ EOF;
* Load the default site's config file and return the db_prefix value from it. * Load the default site's config file and return the db_prefix value from it.
*/ */
function unl_profile_get_default_site_db_settings() { 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'; $default_site_settings_file = DRUPAL_ROOT . '/sites/default/settings.php';
require $default_site_settings_file; require $default_site_settings_file;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment