forked from hans/Nominatim
tabs-to-spaces
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class PlaceLookup
|
class PlaceLookup
|
||||||
{
|
{
|
||||||
protected $oDB;
|
protected $oDB;
|
||||||
@@ -358,4 +359,3 @@
|
|||||||
return $aOutlineResult;
|
return $aOutlineResult;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class ReverseGeocode
|
class ReverseGeocode
|
||||||
{
|
{
|
||||||
protected $oDB;
|
protected $oDB;
|
||||||
@@ -210,4 +211,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('DB.php');
|
require_once('DB.php');
|
||||||
|
|
||||||
function &getDB($bNew = false, $bPersistent = false)
|
function &getDB($bNew = false, $bPersistent = false)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('init.php');
|
require_once('init.php');
|
||||||
require_once('cmd.php');
|
require_once('cmd.php');
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('init.php');
|
require_once('init.php');
|
||||||
require_once('ParameterParser.php');
|
require_once('ParameterParser.php');
|
||||||
|
|
||||||
@@ -7,6 +8,7 @@
|
|||||||
* Error handling functions
|
* Error handling functions
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function chksql($oSql, $sMsg = "Database request failed")
|
function chksql($oSql, $sMsg = "Database request failed")
|
||||||
{
|
{
|
||||||
if (!PEAR::isError($oSql)) return $oSql;
|
if (!PEAR::isError($oSql)) return $oSql;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$aFilteredPlaces = array();
|
$aFilteredPlaces = array();
|
||||||
|
|
||||||
if (!sizeof($aPlace))
|
if (!sizeof($aPlace))
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$aFilteredPlaces = array();
|
$aFilteredPlaces = array();
|
||||||
|
|
||||||
if (!sizeof($aPlace))
|
if (!sizeof($aPlace))
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$aFilteredPlaces = array();
|
$aFilteredPlaces = array();
|
||||||
foreach($aSearchResults as $iResNum => $aPointDetails)
|
foreach($aSearchResults as $iResNum => $aPointDetails)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -102,4 +102,3 @@
|
|||||||
// Set to a file name to enable logging to a file.
|
// Set to a file name to enable logging to a file.
|
||||||
@define('CONST_Log_File', false);
|
@define('CONST_Log_File', false);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
echo "ERROR: Scripts must be run from build directory.\n";
|
echo "ERROR: Scripts must be run from build directory.\n";
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,3 @@
|
|||||||
{
|
{
|
||||||
showUsage($aCMDOptions, true);
|
showUsage($aCMDOptions, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user