From 959c6d861f51beb46717e66b63e6b3da5b94bda7 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 24 Aug 2009 21:04:38 -0400 Subject: [PATCH] downgrade level of folder warnings --- comicpress_manager_library.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comicpress_manager_library.php b/comicpress_manager_library.php index c34d64c..9f8dcad 100644 --- a/comicpress_manager_library.php +++ b/comicpress_manager_library.php @@ -398,18 +398,18 @@ function cpm_read_information_and_check_config() { if (!$wpmu_version) { // is the site root configured properly? if (!file_exists(CPM_DOCUMENT_ROOT)) { - $cpm_config->errors[] = sprintf(__('The comics site root %s does not exist. Check your WordPress address and address settings.', 'comicpress-manager'), CPM_DOCUMENT_ROOT); + $cpm_config->warnings[] = sprintf(__('The comics site root %s does not exist. Check your WordPress address and address settings.', 'comicpress-manager'), CPM_DOCUMENT_ROOT); $any_cpm_document_root_failures = true; } if (!file_exists(CPM_DOCUMENT_ROOT . '/index.php')) { - $cpm_config->errors[] = sprintf(__('The comics site root %s does not contain a WordPress index.php file. Check your WordPress address and address settings.', 'comicpress-manager'), CPM_DOCUMENT_ROOT); + $cpm_config->warnings[] = sprintf(__('The comics site root %s does not contain a WordPress index.php file. Check your WordPress address and address settings.', 'comicpress-manager'), CPM_DOCUMENT_ROOT); $any_cpm_document_root_failures = true; } } if ($any_cpm_document_root_failures) { - $cpm_config->errors[] = print_r($cpm_attempted_document_roots, true); + $cpm_config->warnings[] = print_r($cpm_attempted_document_roots, true); } // folders that are the same as the comics folder won't be written to