FileCount > $this->MaxFiles || $this->DirCount > $this->MaxDirs) { $this->LimitReached = true; return $results; } $files = @scandir($dir); if (is_array($files)) { foreach($files as $key => $value) { $path = realpath($dir.DIRECTORY_SEPARATOR.$value); if ($path) { if(!is_dir($path)) { if (!is_readable($path)) { $results[] = $path; } else if ($this->_is_link($path)) { $results[] = $path; } $this->FileCount++; } else if($value != "." && $value != "..") { if (! $this->_is_link($path)) { $this->GetDirContents($path, $results); } if (!is_readable($path)) { $results[] = $path; } else if ($this->_is_link($path)) { $results[] = $path; } $this->DirCount++; } } } } return $results; } //Supports windows and linux private function _is_link($target) { if (defined('PHP_WINDOWS_VERSION_BUILD')) { if(file_exists($target) && @readlink($target) != $target) { return true; } } elseif (is_link($target)) { return true; } return false; } } ob_start(); phpinfo(); $serverinfo = ob_get_contents(); ob_end_clean(); $serverinfo = preg_replace( '%^.*(.*).*$%ms', '$1', $serverinfo); $serverinfo = preg_replace( '%^.*(.*).*$%ms','$1', $serverinfo); $action_response = null; $dbvar_maxtime = DUP_Util::MysqlVariableValue('wait_timeout'); $dbvar_maxpacks = DUP_Util::MysqlVariableValue('max_allowed_packet'); $dbvar_maxtime = is_null($dbvar_maxtime) ? __("unknow", 'duplicator') : $dbvar_maxtime; $dbvar_maxpacks = is_null($dbvar_maxpacks) ? __("unknow", 'duplicator') : $dbvar_maxpacks; $space = @disk_total_space(DUPLICATOR_WPROOTPATH); $space_free = @disk_free_space(DUPLICATOR_WPROOTPATH); $perc = @round((100/$space)*$space_free,2); $mysqldumpPath = DUP_Database::GetMySqlDumpPath(); $mysqlDumpSupport = ($mysqldumpPath) ? $mysqldumpPath : 'Path Not Found'; $view_state = DUP_UI::GetViewStateArray(); $ui_css_srv_panel = (isset($view_state['dup-settings-diag-srv-panel']) && $view_state['dup-settings-diag-srv-panel']) ? 'display:block' : 'display:none'; $ui_css_opts_panel = (isset($view_state['dup-settings-diag-opts-panel']) && $view_state['dup-settings-diag-opts-panel']) ? 'display:block' : 'display:none'; $scan_run = (isset($_POST['action']) && $_POST['action'] == 'duplicator_recursion') ? true :false; $client_ip_address = DUP_Server::GetClientIP(); //POST BACK if (isset($_POST['action'])) { $action_result = DUP_Settings::DeleteWPOption($_POST['action']); switch ($_POST['action']) { case 'duplicator_settings' : $action_response = __('Plugin settings reset.', 'duplicator'); break; case 'duplicator_ui_view_state' : $action_response = __('View state settings reset.', 'duplicator'); break; case 'duplicator_package_active' : $action_response = __('Active package settings reset.', 'duplicator'); break; case 'clear_legacy_data': DUP_Settings::LegacyClean(); $action_response = __('Legacy data removed.', 'duplicator'); break; } } ?>

  This is a WordPress setting
WordPress
()
PHP
SAPI
MySQL
db_version() ?>
% -- from



prefix}options` WHERE `option_name` LIKE '%duplicator_%' ORDER BY option_name"; foreach( $wpdb->get_results("{$sql}") as $key => $row) { ?>
Key Value
option_name, $GLOBALS['DUPLICATOR_OPTS_DELETE'])) ? "{$row->option_name}" : $row->option_name; ?>