private function WillFollowRedirects()
    {
        $open_basedir = ini_get('open_basedir');
        $safe_mode = strtolower(ini_get('safe_mode'));
        if (empty($open_basedir) && $safe_mode == 'off') {
            return true;
        }
        return false;
    }
private function WillFollowRedirects()
    {
        $open_basedir = ini_get('open_basedir');
        $safe_mode = strtolower(ini_get('safe_mode'));
        if (empty($open_basedir) && $safe_mode == 'off') {
            return true;
        }
        return false;
    }
private function WillFollowRedirects ( ) { $ open_basedir = ini_get ( 'open_basedir' ) ; $ safe_mode = strtolower ( ini_get ( 'safe_mode' ) ) ; if ( empty ( $ open_basedir ) && $ safe_mode == 'off' ) { return true ; } return false ; }
Determines whether or not curl will follow redirects over SSL
See the constructor for details, but there are cases in which
if curl can't verify the certificate of an SSL request, AND
PHP is in safe_mode OR there are open_basedir restrictions, it will
not follow a redirect. There's a fix for this that involves
parsing all the response headers from a request and detecting
a Location header, but that's kind of a hack as it bypasses the
whole point of SSL. This method left for posterity. Or something...

@return boolean
@access private
Determines whether or not curl will follow redirects over SSL See the constructor for details but there are cases in which if curl can t verify the certificate of an SSL request AND PHP is in safe_mode OR there are open_basedir restrictions it will not follow a redirect . There s a fix for this that involves parsing all the response headers from a request and detecting a Location header but that s kind of a hack as it bypasses the whole point of SSL . This method left for posterity . Or something ...