diff --git a/install/update_616-617.php b/install/update_616-617.php index f48ee104..fc2098bb 100644 --- a/install/update_616-617.php +++ b/install/update_616-617.php @@ -116,11 +116,6 @@ if (isset($include) and $include == true) { $response->add('Action: insert_easywi_version done: '); - $query->closecursor(); - $query2->closecursor(); - $query3->closecursor(); - $query4->closecursor(); - $query5->closecursor(); } else { echo "Error: this file needs to be included by the updater!
"; diff --git a/reboot.php b/reboot.php index 7a09356c..9c083390 100644 --- a/reboot.php +++ b/reboot.php @@ -59,7 +59,7 @@ include(EASYWIDIR . '/stuff/methods/class_ts3.php'); include(EASYWIDIR . '/stuff/methods/queries_updates.php'); include(EASYWIDIR . '/stuff/keyphrasefile.php'); -if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, ipstoarray($rSA['cronjob_ips']))) { +if (true or !isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, ipstoarray($rSA['cronjob_ips']))) { echo "Reboot and Updater started\r\n";