mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix more syntax errors in error functions
This commit is contained in:
@@ -39,7 +39,7 @@ INTERNALFAIL;
|
|||||||
echo "<pre>\n".$oSql->getUserInfo()."</pre>";
|
echo "<pre>\n".$oSql->getUserInfo()."</pre>";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</pre></p></body></head></html>";
|
echo "</pre></p></body></html>";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ INTERNALFAIL;
|
|||||||
header('Content-type: text/html; charset=utf-8');
|
header('Content-type: text/html; charset=utf-8');
|
||||||
echo "<html><body><h1>Bad Request</h1>";
|
echo "<html><body><h1>Bad Request</h1>";
|
||||||
echo '<p>Nominatim has encountered an error with your request.</p>';
|
echo '<p>Nominatim has encountered an error with your request.</p>';
|
||||||
echo "<p><b>Details:</b> ".$sError,"</p>";
|
echo "<p><b>Details:</b> ".$sError."</p>";
|
||||||
echo '<p>If you feel this error is incorrect feel file an issue on <a href="https://github.com/twain47/Nominatim/issues">Github</a>. Please include the error message above and the URL you used.</p>';
|
echo '<p>If you feel this error is incorrect feel file an issue on <a href="https://github.com/twain47/Nominatim/issues">Github</a>. Please include the error message above and the URL you used.</p>';
|
||||||
echo "\n</body></html>\n";
|
echo "\n</body></html>\n";
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Reference in New Issue
Block a user