Skip to content
Permalink
Browse files

added .txt extension to cookies file #322

  • Loading branch information...
oscarotero committed Jun 23, 2019
1 parent 2f00baa commit 3e08d552c08d769a155d3687743e41f786a513df
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Http/CurlDispatcher.php
@@ -48,7 +48,7 @@ public function __construct(array $config = [])
$this->config = $config + $this->config;
if (!isset($this->config[CURLOPT_COOKIEJAR])) {
$cookies = str_replace('//', '/', sys_get_temp_dir().'/embed-cookies.'.uniqid());
$cookies = str_replace('//', '/', sys_get_temp_dir().'/embed-cookies-'.uniqid().'.txt');
if (is_file($cookies)) {
if (!is_writable($cookies)) {

0 comments on commit 3e08d55

Please sign in to comment.
You can’t perform that action at this time.