Vergleich admin/modules/home/version_check.php - 1.6.10 - 1.6.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 74Zeile 74

$parser = new XMLParser($contents);
$tree = $parser->get_tree();


$parser = new XMLParser($contents);
$tree = $parser->get_tree();

 

if(!is_array($tree) || !isset($tree['mybb']))
{
$page->output_inline_error($lang->error_communication);
$page->output_footer();
exit;
}


$latest_code = $tree['mybb']['version_code']['value'];
$latest_version = "<strong>".$tree['mybb']['latest_version']['value']."</strong> (".$latest_code.")";


$latest_code = $tree['mybb']['version_code']['value'];
$latest_version = "<strong>".$tree['mybb']['latest_version']['value']."</strong> (".$latest_code.")";