diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 6f25605..867a375 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -2284,7 +2284,7 @@ function _drupal_load_test_overrides($test_prefix) { $path_prefix = 'simpletest/' . substr($test_prefix, 10); $config_directories = array(); foreach (array(CONFIG_ACTIVE_DIRECTORY, CONFIG_STAGING_DIRECTORY) as $type) { - $config_directories[$type] = array('path' => $path_prefix . '/config_' . $type); + $config_directories[$type] = conf_path() . '/files/' . $path_prefix . '/config_' . $type; } // Check for and load a settings.php file in the simpletest files directory. diff --git a/core/includes/install.inc b/core/includes/install.inc index 4c6ab59..7098dbb 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -177,24 +177,20 @@ function drupal_get_database_types() { * and comment properties. * @code * $settings['config_directories'] = array( - * CONFIG_ACTIVE_DIRECTORY => array( - * 'path' => (object) array( - * 'value' => 'config__hash/active' - * 'required' => TRUE, - * ), + * CONFIG_ACTIVE_DIRECTORY => (object) array( + * 'value' => conf_path() . '/files/config_hash/active', + * 'required' => TRUE, * ), - * CONFIG_STAGING_DIRECTORY => array( - * 'path' => (object) array( - * 'value' => 'config_hash/staging', - * 'required' => TRUE, - * ), + * CONFIG_STAGING_DIRECTORY => (object) array( + * 'value' => conf_path() . '/files/config_hash/staging', + * 'required' => TRUE, * ), * ); * @endcode * gets dumped as: * @code - * $config_directories['active']['path'] = 'config__hash/active'; - * $config_directories['staging']['path'] = 'config__hash/staging' + * $config_directories['active'] = 'config__hash/active'; + * $config_directories['staging'] = 'config__hash/staging' * @endcode */ function drupal_rewrite_settings($settings = array(), $settings_file = NULL) {