X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f05ea577f42c5ad4a62ff25ec62fbb60c550ee26..d1c4096e97301eabbc1c29acf31989bae72cc456:/lib/init-cmd.php?ds=sidebyside diff --git a/lib/init-cmd.php b/lib/init-cmd.php index e0fd3d40..50c709c9 100644 --- a/lib/init-cmd.php +++ b/lib/init-cmd.php @@ -2,6 +2,7 @@ require_once('init.php'); require_once('cmd.php'); +require_once('DebugNone.php'); // handle http proxy when using file_get_contents if (CONST_HTTP_Proxy) { @@ -12,16 +13,16 @@ if (CONST_HTTP_Proxy) { $aHeaders = array("Proxy-Authorization: Basic $auth"); } $aContext = array( - 'http' => array( - 'proxy' => $proxy, - 'request_fulluri' => true, - 'header' => $aHeaders - ), - 'https' => array( - 'proxy' => $proxy, - 'request_fulluri' => true, - 'header' => $aHeaders - ) - ); + 'http' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ), + 'https' => array( + 'proxy' => $proxy, + 'request_fulluri' => true, + 'header' => $aHeaders + ) + ); stream_context_set_default($aContext); }