diff --git a/comicpress_manager_library.php b/comicpress_manager_library.php index 5ffe1cc..2dc912d 100644 --- a/comicpress_manager_library.php +++ b/comicpress_manager_library.php @@ -387,6 +387,10 @@ function cpm_read_information_and_check_config() { $cpm_config->detailed_warnings[] = __("The current theme isn't the ComicPress theme. If you've renamed the theme, ignore this warning.", 'comicpress-manager'); } + if (!extension_loaded('zip')) { + $cpm_config->detailed_warnings[] = __("You do not have the Zip extension installed. Uploading a Zip file will not work.", 'comicpress-manager'); + } + $any_cpm_document_root_failures = false; if (!$wpmu_version) { diff --git a/pages/comicpress_index.php b/pages/comicpress_index.php index 9665937..80da4fd 100644 --- a/pages/comicpress_index.php +++ b/pages/comicpress_index.php @@ -88,12 +88,6 @@ function cpm_manager_index() { - -
- You do not have the Zip extension installed. Uploading a Zip file will not work. Either upload files individually or FTP/SFTP the files to your site and import them.'), "?page=" . plugin_basename(realpath(dirname(__FILE__) . '/../comicpress_manager_admin.php') . '-import')) ?> -
- -