Commit 1db3b841 authored by Tim Steiner's avatar Tim Steiner
Browse files

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

parent 1f45337d
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment