X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/29dfc0c259f55430229afea599913eeae47f9a30..1d4dcd914fd277aebf242037064612224f4dde54:/lib/init-cmd.php?ds=sidebyside diff --git a/lib/init-cmd.php b/lib/init-cmd.php index c36f0e57..274256a6 100644 --- a/lib/init-cmd.php +++ b/lib/init-cmd.php @@ -1,9 +1,26 @@ array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ), + 'https' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ) + ); + stream_context_set_default($aContext); + }