fix: better 404

This commit is contained in:
Martin Monperrus
2024-02-09 19:46:48 +01:00
parent 8fdc86f4bd
commit 50acc08a34
+4 -1
View File
@@ -4930,7 +4930,10 @@ class Dispatcher {
exit;
}
function frameset() { ?>
function frameset() {
$this->getDB(); // will throw 404 if bib file does not exist
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">