]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/status.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / website / status.php
index 0caa92a0add83cfaa19f7de8839db22c6d5e8a73..c9d872d0395e67ae2d5736e439d5565fe02f89c8 100644 (file)
@@ -1,16 +1,16 @@
 <?php
 <?php
-        @define('CONST_ConnectionBucket_PageType', 'Status');
+       @define('CONST_ConnectionBucket_PageType', 'Status');
 
 
-        require_once(dirname(dirname(__FILE__)).'/lib/init-website.php');
+       require_once(dirname(dirname(__FILE__)).'/lib/init-website.php');
 
 
-        $oDB =& getDB();
+       $oDB =& getDB();
        if (!$oDB || PEAR::isError($oDB))
        {
                echo "ERROR: No database";
                exit;
        }
 
        if (!$oDB || PEAR::isError($oDB))
        {
                echo "ERROR: No database";
                exit;
        }
 
-       $iWordID = $oDB->getOne("select word_id,word_token, word, class, type, location, country_code, operator, search_name_count from word where word_token in (' a')");
+       $iWordID = $oDB->getOne("select word_id,word_token, word, class, type, country_code, operator, search_name_count from word where word_token in (' a')");
        if (PEAR::isError($iWordID))
        {
                echo "ERROR: Query failed";
        if (PEAR::isError($iWordID))
        {
                echo "ERROR: Query failed";