Archive->ExportOnlyDB && isset($_POST['filter-on']) && isset($_POST['filter-dirs'])) { //findout matched core directories $filter_dirs = explode(";", trim(sanitize_text_field(($_POST['filter-dirs'])))); // clean possible blank spaces before and after the paths for ($i = 0; $i < count($filter_dirs); $i++) { $filter_dirs[$i] = trim($filter_dirs[$i]); $filter_dirs[$i] = (substr($filter_dirs[$i], -1) == "/") ? substr($filter_dirs[$i],0, strlen($filter_dirs[$i])-1):$filter_dirs[$i] ; } $core_dir_included = array_intersect($filter_dirs, DUP_Util::getWPCoreDirs()); if (count($core_dir_included)) $core_dir_notice = true; //find out core files $filter_files = explode(";", trim($_POST['filter-files'])); // clean possible blank spaces before and after the paths for ($i = 0; $i < count($filter_files); $i++) { $filter_files[$i] = trim($filter_files[$i]); } $core_files_included = array_intersect($filter_files, DUP_Util::getWPCoreFiles()); if (count($core_files_included)) $core_file_notice = true; } ?>
 ' . esc_html__('Web Server', 'duplicator') . ":  '".esc_attr($_SERVER['SERVER_SOFTWARE'])."'
"; _e("Supported web servers: ", 'duplicator'); echo "".esc_html($web_servers).""; //PHP VERSION echo '
 ' . esc_html__('PHP Version', 'duplicator') . "
"; _e('The minimum PHP version supported by Duplicator is 5.2.9. It is highly recommended to use PHP 5.3+ for improved stability. For international language support please use PHP 7.0+.', 'duplicator'); //OPEN_BASEDIR $test = ini_get("open_basedir"); $test = ($test) ? 'ON' : 'OFF'; echo '
 ' . esc_html__('PHP Open Base Dir', 'duplicator') . ":  '{$test}'
"; _e('Issues might occur when [open_basedir] is enabled. Work with your server admin to disable this value in the php.ini file if you’re having issues building a package.', 'duplicator'); echo " [" . esc_html__('details', 'duplicator') . "]
"; //MAX_EXECUTION_TIME $test = (@set_time_limit(0)) ? 0 : ini_get("max_execution_time"); echo '
 ' . esc_html__('PHP Max Execution Time', 'duplicator') . ":  '{$test}'
"; _e('Timeouts may occur for larger packages when [max_execution_time] time in the php.ini is too low. A value of 0 (recommended) indicates that PHP has no time limits. ' . 'An attempt is made to override this value if the server allows it.', 'duplicator'); echo '

'; _e('Note: Timeouts can also be set at the web server layer, so if the PHP max timeout passes and you still see a build timeout messages, then your web server could be killing ' . 'the process. If you are on a budget host and limited on processing time, consider using the database or file filters to shrink the size of your overall package. ' . 'However use caution as excluding the wrong resources can cause your install to not work properly.', 'duplicator'); echo " [" . esc_html__('details', 'duplicator') . "]"; if ($zip_check != null) { echo '

'; echo ''; _e('Get faster builds with Duplicator Pro with access to shell_exec zip.', 'duplicator'); echo ''; echo " [" . esc_html__('details', 'duplicator') . "]"; } //MANAGED HOST $test = DUP_Custom_Host_Manager::getInstance()->isManaged() ? "true" : "false"; echo '
 ' . esc_html__('Managed Host', 'duplicator') . ":  '{$test}'
"; _e('A managed host is a WordPress host that tightly controls the server environment so that the software running on it can be closely ‘managed’ by the hosting company. ' .'Managed hosts typically have constraints imposed to facilitate this management, including the locking down of certain files and directories as well as non-standard configurations.', 'duplicator'); echo '

'; _e('Duplicator Lite allows users to build a package on managed hosts, however, the installer may not properly install packages created on managed hosts due to the non-standard configurations of managed hosts. ' .'It is also possible the package engine of Duplicator Lite won’t be able to capture all of the necessary data of a site running on a managed host.', 'duplicator'); echo '

'; _e('Due to these constraints Lite does not officially support the migration of managed hosts. ' .'It’s possible one could get the package to install but it may require custom manual effort. ' .'To get support and the advanced installer processing required for managed host support we encourage users to ' .'upgrade to Duplicator Pro. ' .'Pro has more sophisticated package and installer logic and accounts for odd configurations associated with managed hosts.', 'duplicator'); echo '

'; ?>
 ' . esc_html__('WordPress Version', 'duplicator') . ":  '{$wp_version}'
"; printf(__('It is recommended to have a version of WordPress that is greater than %1$s. Older version of WordPress can lead to migration issues and are a security risk. ' . 'If possible please update your WordPress site to the latest version.', 'duplicator'), DUPLICATOR_SCAN_MIN_WP); //CORE FILES echo '
 ' . esc_html__('Core Files', 'duplicator') . "
"; $filter_text=""; if($core_dir_notice) { echo ''; esc_html_e("The core WordPress paths below will not be included in the archive. These paths are required for WordPress to function!"); echo "
"; foreach($core_dir_included as $core_dir) { echo '     '. $core_dir . '
'; } echo '

'; $filter_text="directories"; } if($core_file_notice) { echo ''; esc_html_e("The core WordPress file below will not be included in the archive. This file is required for WordPress to function!"); echo "
"; foreach($core_files_included as $core_file) { echo '     '. $core_file . '
'; } echo '

'; $filter_text .= (strlen($filter_text) > 0) ? " and file" : "files"; } if(strlen($filter_text) > 0) { echo ''; esc_html_e("Note: Please change the {$filter_text} filters if you wish to include the WordPress core files otherwise the data will have to be manually copied" . " to the new location for the site to function properly.", 'duplicator'); echo ''; } if(!$core_dir_notice && !$core_file_notice): esc_html_e("If the scanner is unable to locate the wp-config.php file in the root directory, then you will need to manually copy it to its new location. " . "This check will also look for core WordPress paths that should be included in the archive for WordPress to work correctly.", 'duplicator'); endif; //CACHE DIR /* $cache_path = DUP_Util::safePath(WP_CONTENT_DIR) . '/cache'; $cache_size = DUP_Util::byteSize(DUP_Util::getDirectorySize($cache_path)); echo '
 ' . esc_html__('Cache Path', 'duplicator') . ":  '".esc_html($cache_path)."' (".esc_html($cache_size).")
"; _e("Cached data will lead to issues at install time and increases your archive size. Empty your cache directory before building the package by using " . "your cache plugins clear cache feature. Use caution if manually removing files the cache folder. The cache " . "size minimum threshold that triggers this warning is currently set at ", 'duplicator'); echo esc_html(DUP_Util::byteSize(DUPLICATOR_SCAN_CACHESIZE)) . '.'; */ //MU SITE if (is_multisite()) { echo '
 ' . esc_html__('Multisite: Unsupported', 'duplicator') . "
"; esc_html_e('Duplicator does not support WordPress multisite migrations. We strongly recommend using Duplicator Pro which currently supports full multisite migrations and various other ' . 'subsite scenarios.', 'duplicator'); echo '

'; esc_html_e('While it is not recommended you can still continue with the build of this package. At install time additional manual custom configurations will ' . 'need to be made to finalize this multisite migration. Please note that any support requests for mulitsite with Duplicator Lite will not be supported.', 'duplicator'); echo " [" . esc_html__('upgrade to pro', 'duplicator') . "]"; } else { echo '
 ' . esc_html__('Multisite: N/A', 'duplicator') . "
"; esc_html_e('This is not a multisite install so duplication will proceed without issue. Duplicator does not officially support multisite. However, Duplicator Pro supports ' . 'duplication of a full multisite network and also has the ability to install a multisite subsite as a standalone site.', 'duplicator'); echo " [" . esc_html__('upgrade to pro', 'duplicator') . "]"; } ?>