Fixed the READMEs and small fix around the project

This commit is contained in:
2026-08-19 17:36:34 +01:00
parent 121f788c28
commit a2f36b6fac
14 changed files with 495 additions and 1004 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ try {
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;";
$conn->query($sql_settings);
// Seed default site settings if missing
$conn->query("INSERT IGNORE INTO site_settings (setting_key, setting_value) VALUES ('site_title', 'Blocknotes')");
// Seed default site settings if empty
$conn->query("INSERT IGNORE INTO site_settings (setting_key, setting_value) VALUES ('site_title', 'sld-blocknotes')");
$conn->query("INSERT IGNORE INTO site_settings (setting_key, setting_value) VALUES ('site_favicon', 'assets/img/favicon.png')");
// Seed default owner account if table is empty or ensure admin user is owner if no owner exists