Quote:
Originally Posted by Nordinho
Hey buro,
Tried adding it in both files, unfortunately it doesn't make a difference though. Getting the same error.
|
My fault... it should've been this for bitly.php:
PHP Code:
$no_hack_needed = (ini_get('safe_mode') !== '1' && ini_get('open_basedir') === false);
if ($no_hack_needed) {
$options[CURLOPT_FOLLOWLOCATION] = true;
} else {
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_HEADER] = true;
}