Skip to content

Commit 3e08d55

Browse files
committed
added .txt extension to cookies file #322
1 parent 2f00baa commit 3e08d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/CurlDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(array $config = [])
4848
$this->config = $config + $this->config;
4949

5050
if (!isset($this->config[CURLOPT_COOKIEJAR])) {
51-
$cookies = str_replace('//', '/', sys_get_temp_dir().'/embed-cookies.'.uniqid());
51+
$cookies = str_replace('//', '/', sys_get_temp_dir().'/embed-cookies-'.uniqid().'.txt');
5252

5353
if (is_file($cookies)) {
5454
if (!is_writable($cookies)) {

0 commit comments

Comments
 (0)