From bedca3e0bc0939f2ae1f194c8ca5b2d7a231d0cd Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 3 Jan 2024 21:56:30 +0100 Subject: [PATCH] Fix commands --- Blacklight/processing/post/ProcessAdditional.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 7f58581fd..1fb406c01 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -939,7 +939,7 @@ class ProcessAdditional $fileName = $this->tmpPath.uniqid('', true).'.7z'; File::put($fileName, $compressedData); // Pass the -p flag to the 7zip command to make sure it doesn't get stuck in password prompt - runCmd($this->_killString.$this->_7zipPath.'" x -tzip "'.$fileName.'" -p -bd -y -o"'.$this->tmpPath.'unzip/"'); + runCmd($this->_killString.$this->_7zipPath.'" x "'.$fileName.'" -p -bd -y -o"'.$this->tmpPath.'unzip/"'); File::delete($fileName); } break; @@ -952,7 +952,7 @@ class ProcessAdditional $fileName = $this->tmpPath.uniqid('', true).'.zip'; File::put($fileName, $compressedData); // Pass the -p flag to the 7zip command to make sure it doesn't get stuck in password prompt - runCmd($this->_killString.$this->_7zipPath.'" x "'.$fileName.'" -p -bd -y -o"'.$this->tmpPath.'unzip/"'); + runCmd($this->_killString.$this->_7zipPath.'" x -tzip "'.$fileName.'" -p -bd -y -o"'.$this->tmpPath.'unzip/"'); File::delete($fileName); } break;