X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f404b81388537f33a4a9355991f8eeecd914a5b9..5141ac14f6c8502aee8a88074159a68222054527:/lib/init-cmd.php?ds=sidebyside diff --git a/lib/init-cmd.php b/lib/init-cmd.php index e6de0522..860ef215 100644 --- a/lib/init-cmd.php +++ b/lib/init-cmd.php @@ -1,8 +1,27 @@ array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ), + 'https' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ) + ); + stream_context_set_default($aContext); +}