X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e33928bbf031720bab699c8acfa401b3ced7c02b..71cc8f49776ef9c434110d9744f0f9c69d9835ed:/lib/init-cmd.php diff --git a/lib/init-cmd.php b/lib/init-cmd.php index c36f0e57..860ef215 100644 --- a/lib/init-cmd.php +++ b/lib/init-cmd.php @@ -1,9 +1,27 @@ array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ), + 'https' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ) + ); + stream_context_set_default($aContext); +}