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

  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 4304 2009-01-02 01:11:56Z chris $

 */

// 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);