Vergleich inc/tasks/versioncheck.php - 1.8.23 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 19Zeile 19
	);

// Check for the latest version

	);

// Check for the latest version

	require_once MYBB_ROOT.'inc/class_xml.php';

 
	$contents = fetch_remote_file("https://mybb.com/version_check.php");

if(!$contents)

	$contents = fetch_remote_file("https://mybb.com/version_check.php");

if(!$contents)

Zeile 30Zeile 29

$contents = trim($contents);



$contents = trim($contents);


	$parser = new XMLParser($contents);

	$parser = create_xml_parser($contents);

	$tree = $parser->get_tree();

$latest_code = (int)$tree['mybb']['version_code']['value'];

	$tree = $parser->get_tree();

$latest_code = (int)$tree['mybb']['version_code']['value'];