X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2ab9e4acd3a2ceb5ff871b6b6afc786377e8739f..5d656891ba072d88b8b281d239d0dce9f7bd6a1c:/lib/cmd.php diff --git a/lib/cmd.php b/lib/cmd.php index 72b66608..5a12f99a 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); +}