X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ce1c3bab6d94163656c3bb06f735b27e6be2198b..ff5a2372001b024e2e11d6d4db8d69809b1e5d29:/lib/init-website.php?ds=sidebyside diff --git a/lib/init-website.php b/lib/init-website.php index 302a9478..f2d52980 100644 --- a/lib/init-website.php +++ b/lib/init-website.php @@ -20,7 +20,7 @@ function exception_handler_json($exception) { http_response_code($exception->getCode()); header('Content-type: application/json; charset=utf-8'); - include(CONST_BasePath.'/lib/template/error-json.php'); + include(CONST_LibDir.'/template/error-json.php'); exit(); } @@ -29,7 +29,7 @@ function exception_handler_xml($exception) http_response_code($exception->getCode()); header('Content-type: text/xml; charset=utf-8'); echo ''."\n"; - include(CONST_BasePath.'/lib/template/error-xml.php'); + include(CONST_LibDir.'/template/error-xml.php'); exit(); }