Vergleich admin/modules/tools/file_verification.php - 1.8.8 - 1.8.30

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 27Zeile 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 36Zeile 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]))
{

Zeile 69Zeile 69
				{
$parts[1] = "./index.php";
}

				{
$parts[1] = "./index.php";
}

 
			}

if(!file_exists(MYBB_ROOT."inc/plugins/hello.php") && $parts[1] == "./inc/plugins/hello.php")
{
continue;
}

if(!is_dir(MYBB_ROOT."install/") && substr($parts[1], 0, 10) == "./install/")
{
continue;

			}

$checksums[trim($parts[1])][] = $parts[0];

			}

$checksums[trim($parts[1])][] = $parts[0];