diff options
-rw-r--r-- | modules/color/color.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module index 98b6e337d..5b3b3ce71 100644 --- a/modules/color/color.module +++ b/modules/color/color.module @@ -210,7 +210,8 @@ function color_scheme_form_submit($form_id, $values) { // Prepare target locations for generated files $id = $theme .'-'. substr(md5(serialize($palette) . microtime()), 0, 8); - $paths['target'] = variable_get('file_directory_path', 'files') .'/color/'. $id .'/'; + $paths['color'] = variable_get('file_directory_path', 'files') .'/color'; + $paths['target'] = $paths['color'] .'/'. $id .'/'; foreach ($paths as $path) { if (!is_dir($path)) { mkdir($path); |