Vergleich admin/modules/config/plugins.php - 1.4.6 - 1.4.15

  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: plugins.php 4292 2008-12-13 01:58:07Z Tikitiki $

 * $Id: plugins.php 5379 2011-02-21 11:06:42Z Tomm $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 29Zeile 29
	
if($plugins_list)
{

	
if($plugins_list)
{

 
		$active_hooks = $plugins->hooks;

		foreach($plugins_list as $plugin_file)
{
require_once MYBB_ROOT."inc/plugins/".$plugin_file;

		foreach($plugins_list as $plugin_file)
{
require_once MYBB_ROOT."inc/plugins/".$plugin_file;

Zeile 47Zeile 48
				$names[$plugininfo['guid']] = array('name' => $plugininfo['name'], 'version' => $plugininfo['version']);
}
}

				$names[$plugininfo['guid']] = array('name' => $plugininfo['name'], 'version' => $plugininfo['version']);
}
}

 
		$plugins->hooks = $active_hooks;

	}

if(empty($info))

	}

if(empty($info))

Zeile 54Zeile 56
		flash_message($lang->error_vcheck_no_supported_plugins, 'error');
admin_redirect("index.php?module=config/plugins");
}

		flash_message($lang->error_vcheck_no_supported_plugins, 'error');
admin_redirect("index.php?module=config/plugins");
}

 
	
$url = "http://mods.mybb.com/version_check.php?";
foreach($info as $guid)
{
$url .= "info[]=".urlencode($guid)."&";
}
$url = substr($url, 0, -1);

	
require_once MYBB_ROOT."inc/class_xml.php";

	
require_once MYBB_ROOT."inc/class_xml.php";

	$contents = fetch_remote_file("http://mods.mybboard.net/version_check.php?info=".serialize($info));

	$contents = fetch_remote_file($url);

	
if(!$contents)
{

	
if(!$contents)
{