Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 1464
Zeile 441... Zeile 441...
441
                $conf[\CURLOPT_PROXY] = $options['proxy'];
441
                $conf[\CURLOPT_PROXY] = $options['proxy'];
442
            } else {
442
            } else {
443
                $scheme = $easy->request->getUri()->getScheme();
443
                $scheme = $easy->request->getUri()->getScheme();
444
                if (isset($options['proxy'][$scheme])) {
444
                if (isset($options['proxy'][$scheme])) {
445
                    $host = $easy->request->getUri()->getHost();
445
                    $host = $easy->request->getUri()->getHost();
446
                    if (!isset($options['proxy']['no']) || !Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
446
                    if (isset($options['proxy']['no']) && Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
-
 
447
                        unset($conf[\CURLOPT_PROXY]);
-
 
448
                    } else {
447
                        $conf[\CURLOPT_PROXY] = $options['proxy'][$scheme];
449
                        $conf[\CURLOPT_PROXY] = $options['proxy'][$scheme];
448
                    }
450
                    }
449
                }
451
                }
450
            }
452
            }
451
        }
453
        }