Home
last modified time | relevance | path

Searched refs:zip_file (Results 1 – 2 of 2) sorted by relevance

/webtrees/app/Http/RequestHandlers/
H A DUpgradeWizardStep.php109 $zip_file = Webtrees::ROOT_DIR . self::ZIP_FILENAME;
135 return $this->wizardStepUnzip($zip_file, $zip_folder);
138 return $this->wizardStepCopyAndCleanUp($zip_file);
248 * @param string $zip_file
253 private function wizardStepUnzip(string $zip_file, string $zip_folder): ResponseInterface argument
256 $this->upgrade_service->extractWebtreesZip($zip_file, $zip_folder);
257 $count = $this->upgrade_service->webtreesZipContents($zip_file)->count();
270 * @param string $zip_file
274 private function wizardStepCopyAndCleanUp(string $zip_file): ResponseInterface argument
284 $files_to_keep = $this->upgrade_service->webtreesZipContents($zip_file);
/webtrees/app/Services/
H A DUpgradeService.php97 * @param string $zip_file
102 public function extractWebtreesZip(string $zip_file, string $target_folder): void argument
107 if ($zip->open($zip_file) === true) {
118 * @param string $zip_file
123 public function webtreesZipContents(string $zip_file): Collection argument
125 $zip_provider = new FilesystemZipArchiveProvider($zip_file, 0755);