Vergleich admin/modules/home/version_check.php - 1.4.0 - 1.4.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: version_check.php 3790 2008-04-23 22:50:33Z Tikitiki $

 * $Id: version_check.php 4376 2009-06-03 21:56:15Z RyanGordon $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 57Zeile 57
		$page->output_inline_error($lang->error_communication);
$page->output_footer();
exit;

		$page->output_inline_error($lang->error_communication);
$page->output_footer();
exit;

 
	}

// We do this because there is some weird symbols that show up in the xml file for unknown reasons
$pos = strpos($contents, "<");
if($pos > 1)
{
$contents = substr($contents, $pos);
}

$pos = strpos(strrev($contents), ">");
if($pos > 1)
{
$contents = substr($contents, 0, (-1) * ($pos-1));

	}

$parser = new XMLParser($contents);

	}

$parser = new XMLParser($contents);

Zeile 80Zeile 93

require_once MYBB_ROOT."inc/class_feedparser.php";
$feed_parser = new FeedParser();


require_once MYBB_ROOT."inc/class_feedparser.php";
$feed_parser = new FeedParser();

	$feed_parser->parse_feed("http://www.mybboard.net/latest_news.php");

	$feed_parser->parse_feed("http://feeds.feedburner.com/MyBBDevelopmentBlog");

	
$table = new Table;
$table->construct_header($lang->your_version);

	
$table = new Table;
$table->construct_header($lang->your_version);