X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab6a99677293c9ddb96a717f03b8a009e98ab955..e6a81e8deceae44211ba9d12096edb99efc4a015:/lib/init-cmd.php?ds=sidebyside diff --git a/lib/init-cmd.php b/lib/init-cmd.php index 7558efd9..50c709c9 100644 --- a/lib/init-cmd.php +++ b/lib/init-cmd.php @@ -1,4 +1,28 @@ array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ), + 'https' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ) + ); + stream_context_set_default($aContext); +}