Vergleich inc/tasks/versioncheck.php - 1.8.3 - 1.8.10

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

// Check for the latest version
require_once MYBB_ROOT.'inc/class_xml.php';


// Check for the latest version
require_once MYBB_ROOT.'inc/class_xml.php';

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

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


if(!$contents)
{


if(!$contents)
{

Zeile 83Zeile 83
					'allow_html' => true,
)
);

					'allow_html' => true,
)
);

 

$description = preg_replace('#<img(.*)/>#', '', $description);


$updated_cache['news'][] = array(
'title' => htmlspecialchars_uni($item['title']),


$updated_cache['news'][] = array(
'title' => htmlspecialchars_uni($item['title']),

				'description' => preg_replace('#<img(.*)/>#', '', $description),

				'description' => $description,

				'link' => htmlspecialchars_uni($item['link']),
'author' => htmlspecialchars_uni($item['author']),
'dateline' => $item['date_timestamp']

				'link' => htmlspecialchars_uni($item['link']),
'author' => htmlspecialchars_uni($item['author']),
'dateline' => $item['date_timestamp']