Zeile 27 | Zeile 27 |
---|
if($mybb->request_method == "post") { // User clicked no
|
if($mybb->request_method == "post") { // User clicked no
|
if($mybb->input['no'])
| if($mybb->get_input('no'))
|
{ admin_redirect("index.php?module=tools-system_health"); }
| { admin_redirect("index.php?module=tools-system_health"); }
|
Zeile 36 | Zeile 36 |
---|
$page->output_header($lang->file_verification." - ".$lang->checking);
|
$page->output_header($lang->file_verification." - ".$lang->checking);
|
$file = explode("\n", fetch_remote_file("https://mybb.com/checksums/release_mybb_{$mybb->version_code}.txt"));
| $file = explode("\n", @file_get_contents("https://mybb.com/checksums/release_mybb_{$mybb->version_code}.txt"));
|
if(strstr($file[0], "<?xml") !== false || empty($file[0])) {
| if(strstr($file[0], "<?xml") !== false || empty($file[0])) {
|