Added the email for the owner and changed the admin123 for the login page
This commit is contained in:
@@ -74,6 +74,7 @@ try {
|
||||
// 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')");
|
||||
$conn->query("INSERT IGNORE INTO site_settings (setting_key, setting_value) VALUES ('admin_email', '[email protected]')");
|
||||
|
||||
// Seed default owner account if table is empty or ensure admin user is owner if no owner exists
|
||||
$res = $conn->query("SELECT COUNT(*) AS total FROM users");
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ $db_needed="yes";
|
||||
$db_debug="yes";
|
||||
$db_host="localhost";
|
||||
$db_name="sld_blocknotes_db";
|
||||
$db_user="simone";
|
||||
$db_pass="Angela";
|
||||
$db_user="root";
|
||||
$db_pass="";
|
||||
|
||||
//-------------------------------------------------------------------------------------
|
||||
// --- DON'T CHANGE ALL THE CODE BELOW!!! ---
|
||||
|
||||
Reference in New Issue
Block a user