messages[] = sprintf(__("Directory created: %s", 'comicpress-manager'), $dir_to_make); } } else { $all_made = false; if (!$is_wpmu) { $cpm_config->warnings[] = sprintf(__("Unable to create directory: %s", 'comicpress-manager'), $dir_to_make); } } } } if (!$any_made) { $cpm_config->messages[] = __("All the directories were already found, nothing to do!", "comicpress-manager"); } if ($is_wpmu) { if ($all_made) { $cpm_config->messages[] = sprintf(__("All directories created!", 'comicpress-manager'), $dir_to_make); cpm_wpmu_complete_first_run(); } else { $cpm_config->warnings[] = sprintf(__("Unable to create directories! Contact your administrator.", 'comicpress-manager'), $dir_to_make); } update_option("comicpress-manager-cpm-did-first-run", 1); } $cpm_config->did_first_run = true; cpm_read_information_and_check_config(); } ?>