Skip to content
Snippets Groups Projects
Commit 4a2e987e authored by Sebastien's avatar Sebastien
Browse files

Close 24 : forward cookie to legacy from symfony

parent 91a5bcce
No related branches found
No related tags found
No related merge requests found
......@@ -123,8 +123,7 @@ class LegacyHelper
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_COOKIESESSION => false,
CURLOPT_COOKIEFILE => 'cookies.txt',
CURLOPT_COOKIEJAR => 'cookies.txt'
CURLOPT_COOKIE => 'PHPSESSID=' . $_COOKIE['PHPSESSID']
];
$curl_handler->setOptions($options_array);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment