X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ce1c3bab6d94163656c3bb06f735b27e6be2198b..77e287f66918296b9461470a7846e22ec1f36a08:/lib/init-website.php 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(); }