update DB handler to redirect upon non-install

This commit is contained in:
abbie 2024-07-28 00:31:40 +01:00
parent 97c7488ff5
commit 5aed344ec6
Signed by: threeoh6000
GPG key ID: 801FE4AD456E922C

View file

@ -1,6 +1,6 @@
<?php
if(!file_exists("meowboard.db")) {
die("Database not found.");
die("<meta http-equiv=\"refresh\" content=\"0; url=/install.php\">Database not found.");
}
class Store extends SQLite3
{