X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e42ff1935f05c6e0eb5db77d264e7c923186deb2..88d623b6319c4be9068f018390ad9e18b6eac3ad:/lib/init-cmd.php diff --git a/lib/init-cmd.php b/lib/init-cmd.php index e6de0522..274256a6 100644 --- a/lib/init-cmd.php +++ b/lib/init-cmd.php @@ -1,8 +1,26 @@ array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ), + 'https' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ) + ); + stream_context_set_default($aContext); + }