Vergleich admin/modules/config/plugins.php - 1.6.8 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: plugins.php 5828 2012-05-08 16:06:16Z Tomm $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

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


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


	if(!array_key_exists("results", $tree))

	if(!is_array($tree) || !isset($tree['results']))

	{
$page->output_inline_error($lang->error_communication_problem);
$page->output_footer();

	{
$page->output_inline_error($lang->error_communication_problem);
$page->output_footer();

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

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

	









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


	if(array_key_exists('error', $tree['plugins']))
{
switch($tree['plugins'][0]['error'])

	if(array_key_exists('error', $tree['plugins']))
{
switch($tree['plugins'][0]['error'])