revert Fixed the READMEs and small fix around the project
This commit is contained in:
2026-08-19 17:44:20 +01:00
parent a2f36b6fac
commit 64f3c76f92
14 changed files with 1004 additions and 495 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ try {
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;";
$conn->query($sql_settings);
// Seed default site settings if empty
$conn->query("INSERT IGNORE INTO site_settings (setting_key, setting_value) VALUES ('site_title', 'sld-blocknotes')");
// Seed default site settings if missing
$conn->query("INSERT IGNORE INTO site_settings (setting_key, setting_value) VALUES ('site_title', '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
+3 -3
View File
@@ -7,9 +7,9 @@ $php_debug="off";
$db_needed="yes";
$db_debug="yes";
$db_host="localhost";
$db_name="sld_blocknotes_db";
$db_user="root";
$db_pass="";
$db_name="blocknotes_db";
$db_user="simone";
$db_pass="Angela";
//-------------------------------------------------------------------------------------
// --- DON'T CHANGE ALL THE CODE BELOW!!! ---