Skip to content

Commit

Permalink
fix x2t librairie issue nextcloud#195
Browse files Browse the repository at this point in the history
  • Loading branch information
chadek committed Sep 4, 2024
1 parent 7af5157 commit ad1fe00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Document/ConverterBinary.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function run(string $param, string $password = null): string {
$password = htmlspecialchars($password, ENT_XML1, 'UTF-8');
$cmd .= ' ' . escapeshellarg("<TaskQueueDataConvert><m_sPassword>$password</m_sPassword></TaskQueueDataConvert>");
}
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, []);
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, ["LD_LIBRARY_PATH" => "."]);

@fclose($pipes[0]);
$output = @stream_get_contents($pipes[1]);
Expand Down

0 comments on commit ad1fe00

Please sign in to comment.