2006-10-17 Ernesto Baschny <ernst@cron-it.de>
authorErnesto Baschny <ernst@cron-it.de>
Tue, 17 Oct 2006 17:07:24 +0000 (17:07 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Tue, 17 Oct 2006 17:07:24 +0000 (17:07 +0000)
* Fix: no more "ERR" or "Unpacking the language pack failed" in the translation handling with curl enabled.

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-0@1764 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 04087e5..2d87a83 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-17  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fix: no more "ERR" or "Unpacking the language pack failed" in the translation handling with curl enabled.
+
 2006-10-14  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fix: t3lib_db::exec_SELECTgetRows() did not free recordset
index 11f2a22..6ab882c 100755 (executable)
@@ -2324,6 +2324,7 @@ class t3lib_div {
                        curl_setopt($ch, CURLOPT_NOBODY, $includeHeader == 2 ? 1 : 0);
                        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
                        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+                       curl_setopt($ch, CURLOPT_FAILONERROR, 1);
                        if (is_array($requestHeaders))  {
                                curl_setopt($ch, CURLOPT_HTTPHEADER, $requestHeaders);
                        }