X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8c3a0efe8b75a06279998e66a932d8a56c483961..ac116980ac78b74dbc1e0ae7ff2d329d7e581ba5:/lib/cmd.php diff --git a/lib/cmd.php b/lib/cmd.php index 72b66608..b72c1bb4 100644 --- a/lib/cmd.php +++ b/lib/cmd.php @@ -1,6 +1,6 @@ $sProxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ); + + $aContext = array('http' => $aProxyHeader, 'https' => $aProxyHeader); + stream_context_set_default($aContext); +}