mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
fixed #50, file_put_contents함수에 LOCK_EX flag 적
This commit is contained in:
parent
ab021d75c7
commit
71c8a0b99f
11 changed files with 14 additions and 14 deletions
|
|
@ -1234,7 +1234,7 @@ class PHPMailer {
|
|||
} else if ($this->sign_key_file) {
|
||||
try {
|
||||
$file = tempnam('', 'mail');
|
||||
file_put_contents($file, $body); //TODO check this worked
|
||||
file_put_contents($file, $body, LOCK_EX); //TODO check this worked
|
||||
$signed = tempnam("", "signed");
|
||||
if (@openssl_pkcs7_sign($file, $signed, "file://".$this->sign_cert_file, array("file://".$this->sign_key_file, $this->sign_key_pass), NULL)) {
|
||||
@unlink($file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue