X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d0880694eb3ad17cddfe7d7f8fbe73b5a7ce8eef..ff5a2372001b024e2e11d6d4db8d69809b1e5d29:/lib/TokenSpecialTerm.php diff --git a/lib/TokenSpecialTerm.php b/lib/TokenSpecialTerm.php index 46966a8a..b2c312ec 100644 --- a/lib/TokenSpecialTerm.php +++ b/lib/TokenSpecialTerm.php @@ -2,7 +2,7 @@ namespace Nominatim\Token; -require_once(CONST_BasePath.'/lib/SpecialSearchOperator.php'); +require_once(CONST_LibDir.'/SpecialSearchOperator.php'); /** * A word token describing a place type. @@ -34,7 +34,7 @@ class SpecialTerm 'Info' => array( 'class' => $this->sClass, 'type' => $this->sType, - 'operator' => Operator::toString($this->iOperator) + 'operator' => \Nominatim\Operator::toString($this->iOperator) ) ); }