]> git.wh0rd.org Git - tt-rss.git/commit
Enable cookies when fetching feeds with curl
authorFelipe Sateler <fsateler@gmail.com>
Fri, 4 Oct 2013 20:18:30 +0000 (17:18 -0300)
committerFelipe Sateler <fsateler@gmail.com>
Fri, 4 Oct 2013 20:56:46 +0000 (17:56 -0300)
commitd9eacf54a0e4e1c34c3da643753790fdf6bb44ca
tree77bc971e8e73ed343de946aa49360f1eab3af129
parent84c53d0e1dba8633fe9fc8ba2d46bb3e3c096173
Enable cookies when fetching feeds with curl

If a feed requires cookies, curl needs to have them active in order to
access it. This is done by setting the COOKIE_JAR option.
Since we do not need the actual cookie jar, send it to /dev/null, curl
will still have a valid in-memory cookie jar.
include/functions.php