Adjusted config_get_signed_file_storage_names_with_prefix() to acknowledge proper config directory

8.0.x
Greg Dunlap 2011-09-14 13:18:04 +02:00
parent 712cafcdff
commit 8e78061b44
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function config_get_config_directory() {
* An array of file names under a branch.
*/
function config_get_signed_file_storage_names_with_prefix($prefix = '') {
$files = glob(conf_path() . '/config/' . $prefix . '*.xml');
$files = glob(config_get_config_directory() . '/' . $prefix . '*.xml');
$clean_name = function ($value) {
return basename($value, '.xml');
};