chore: release v0.19.1

This commit is contained in:
2026-07-08 23:37:29 +02:00
parent 5f9ee9efa2
commit f665d666d6
4 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -17,6 +17,7 @@
*/
$DB_HOST = '10.10.10.15'; // your MySQL host (same as OpsLog's logbook)
$DB_PORT = 3306; // MySQL port — change if your server listens elsewhere
$DB_NAME = 'opslog'; // database name
$DB_USER = 'opslog';
$DB_PASS = 'CHANGE_ME';
@@ -27,7 +28,7 @@ $STALE_SECONDS = 120; // an operator is "active" if seen within this wi
// instead of a fatal "table doesn't exist".
mysqli_report(MYSQLI_REPORT_OFF);
$mysqli = @new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
$mysqli = @new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME, $DB_PORT);
if ($mysqli->connect_errno) {
http_response_code(500);
exit('DB error');