Errors/Log

* also log POST data
This commit is contained in:
Sarjuuk
2024-07-14 17:01:31 +02:00
parent 31928d56a7
commit 7d545167df
3 changed files with 11 additions and 7 deletions

View File

@@ -797,6 +797,7 @@ CREATE TABLE `aowow_errors` (
`file` varchar(150) NOT NULL,
`line` smallint unsigned NOT NULL,
`query` varchar(250) NOT NULL,
`post` text NOT NULL,
`userGroups` smallint unsigned NOT NULL,
`message` text DEFAULT NULL,
PRIMARY KEY (`file`,`line`,`phpError`,`version`,`userGroups`)
@@ -3320,7 +3321,7 @@ UNLOCK TABLES;
LOCK TABLES `aowow_dbversion` WRITE;
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
INSERT INTO `aowow_dbversion` VALUES (1720523765,0,NULL,NULL);
INSERT INTO `aowow_dbversion` VALUES (1720969086,0,NULL,NULL);
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
UNLOCK TABLES;