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

Check for test fix

This commit is contained in:
2020-10-16 21:23:03 +02:00
parent 68c4461233
commit 90e109beb4
2 changed files with 9 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ $db_conn = dbconn();
if (isset($argv[1]) && (int)$argv[1] != 0){ //Si se envió un servidor forzado por un argumento...
$ID_SERV = (int)$argv[1];
$pcsenabled = dbw_query($db_conn,"SELECT * FROM SERVERS WHERE ID_SERV='$ID_SERV'");
}else if (isset($RETRIEVE_DATA)){
$ID_SERV = (int)$RETRIEVE_DATA;
$pcsenabled = dbw_query($db_conn,"SELECT * FROM SERVERS WHERE ID_SERV='$ID_SERV'");
}else{
$pcsenabled = dbw_query($db_conn,"SELECT * FROM SERVERS WHERE `Enabled`=1");