$file, 'absolute path' => realpath($drupal_root_path . '/' . $file), 'cdn_url' => $file_cdn_url, 'server' => ($server === FALSE) ? '' : $server, ); // $server is only set in advanced mode. if ($server !== FALSE) { if (!array_key_exists($server, $synced_files_per_server_count)) { $synced_files_per_server_count[$server] = 0; } $synced_files_per_server_count[$server]++; } } else { $unsynced_files[] = $file; } } elseif (!$file) { return array( $file_count, $cdn_file_count, $synced_files_per_server_count, $total_time, $synced_files, $unsynced_files, ); } }