X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f05ea577f42c5ad4a62ff25ec62fbb60c550ee26..f5641037cff6f96708baa157b00287930196474d:/lib/init-website.php diff --git a/lib/init-website.php b/lib/init-website.php index 18d45284..4ca927cf 100644 --- a/lib/init-website.php +++ b/lib/init-website.php @@ -9,6 +9,7 @@ require_once('ParameterParser.php'); * */ + function chksql($oSql, $sMsg = "Database request failed") { if (!PEAR::isError($oSql)) return $oSql; @@ -95,4 +96,3 @@ if (CONST_NoAccessControl) { if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') exit; if (CONST_Debug) header('Content-type: text/html; charset=utf-8'); -