mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-03-02 17:03:45 +01:00
Check for test fix
This commit is contained in:
@@ -50,8 +50,12 @@ switch ($namepage){
|
||||
$IV = randomString(16); //For secure encoding
|
||||
$password = encodePassword($_POST['passw'],$IV);
|
||||
dbw_query($db_conn,"UPDATE SERVERS SET `User`='$user', `Password` = '$password',`IV`='$IV' WHERE ID_SERV='$ID_SERV'");
|
||||
exec("php -f ".dirname(__FILE__).'/cron/cron.php '.$ID_SERV); //Retrieve data
|
||||
$RETRIEVE_DATA = $ID_SERV;
|
||||
require 'cron/cron.php'; #run cron for new server to retrieve data
|
||||
#exec("php -f ".dirname(__FILE__).'/cron/cron.php '.$ID_SERV); //Retrieve data
|
||||
}
|
||||
}else{
|
||||
sendmsg('error','Error al añadir el servidor a la base de datos');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user