]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init-cmd.php
Support housenumber=0 in interpolations
[nominatim.git] / lib / init-cmd.php
index e0fd3d40d44af3323650b8517c8f09f830a395cc..50c709c9ad16d1c89dfc359a1f083abfb3623dfa 100644 (file)
@@ -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);
 }