Zeile 20 | Zeile 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 83 | Zeile 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']
|