diff --git a/core/modules/color/color.module b/core/modules/color/color.module index dc8be4a..2b1a840 100644 --- a/core/modules/color/color.module +++ b/core/modules/color/color.module @@ -335,7 +335,7 @@ function color_scheme_form_submit($form, &$form_state) { // Prepare target locations for generated files. $id = $theme . '-' . substr(hash('sha256', serialize($palette) . microtime()), 0, 8); - $paths['color'] = 'public://color'; + $paths['color'] = file_default_scheme() . '://color'; $paths['target'] = $paths['color'] . '/' . $id; foreach ($paths as $path) { file_prepare_directory($path, FILE_CREATE_DIRECTORY);