]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init-website.php
rename nominatim.admin to nominatim.tools
[nominatim.git] / lib / init-website.php
index 302a94787cc834e2468c0959b8e4a2c5bf8edbf3..f2d529800f474bc49853b211731f26de91dc0e6e 100644 (file)
@@ -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 '<?xml version="1.0" encoding="UTF-8" ?>'."\n";
-    include(CONST_BasePath.'/lib/template/error-xml.php');
+    include(CONST_LibDir.'/template/error-xml.php');
     exit();
 }