Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Update : the message to display the progress of the exraction is comp…
Browse files Browse the repository at this point in the history
…ression.13 not compression.12
  • Loading branch information
isma91 committed Oct 28, 2015
1 parent 87438f7 commit 2cdcb3f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -257,7 +257,7 @@ public function receiveAction($action, $httpVars, $fileVars)
$newNode = new AJXP_Node($currentDirUrl . $onlyFileName . DIRECTORY_SEPARATOR . $fileNameInArchive);
AJXP_Controller::applyHook("node.change", array(null, $newNode, false));
$counterExtract++;
file_put_contents($progressExtractFileName, sprintf($messages["compression.12"], round(($counterExtract / $archive->count()) * 100, 0, PHP_ROUND_HALF_DOWN) . " %"));
file_put_contents($progressExtractFileName, sprintf($messages["compression.13"], round(($counterExtract / $archive->count()) * 100, 0, PHP_ROUND_HALF_DOWN) . " %"));
}
} catch (Exception $e) {
file_put_contents($progressExtractFileName, "Error : " . $e->getMessage());
Expand Down

0 comments on commit 2cdcb3f

Please sign in to comment.