1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-02-17 02:31:35 +01:00

Optimize index and fix delete older checks from hist

This commit is contained in:
2017-12-16 20:17:00 +01:00
parent 1be1751a3d
commit a44f87cea4
24 changed files with 262 additions and 158 deletions

View File

@@ -208,7 +208,10 @@ switch($page){
header('Location: panel.php?page=news');
break;
case 'savesettings':
//All group names and IDs
dbw_query($db_conn,"UPDATE SYS SET `value`='$_POST[name]' WHERE `option`='name'");
dbw_query($db_conn,"UPDATE SYS SET `value`='$_POST[maxTimeSave]' WHERE `option`='maxTimeSave'");
case 'settings':
//All group names and IDs
$results = dbw_query($db_conn,"SELECT * FROM SYS"); //All groups