"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/config/plugins.php" between
mybb_1819.zip and mybb_1820.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

plugins.php  (mybb_1819):plugins.php  (mybb_1820)
skipping to change at line 256 skipping to change at line 256
$url .= http_build_query(array("info" => $info))."&"; $url .= http_build_query(array("info" => $info))."&";
require_once MYBB_ROOT."inc/class_xml.php"; require_once MYBB_ROOT."inc/class_xml.php";
$contents = fetch_remote_file($url); $contents = fetch_remote_file($url);
if(!$contents) if(!$contents)
{ {
flash_message($lang->error_vcheck_communications_problem, 'error' ); flash_message($lang->error_vcheck_communications_problem, 'error' );
admin_redirect("index.php?module=config-plugins"); admin_redirect("index.php?module=config-plugins");
} }
$contents = trim($contents);
$parser = new XMLParser($contents); $parser = new XMLParser($contents);
$tree = $parser->get_tree(); $tree = $parser->get_tree();
if(!is_array($tree) || !isset($tree['plugins'])) if(!is_array($tree) || !isset($tree['plugins']))
{ {
flash_message($lang->error_communication_problem, 'error'); flash_message($lang->error_communication_problem, 'error');
admin_redirect("index.php?module=config-plugins"); admin_redirect("index.php?module=config-plugins");
} }
if(array_key_exists('error', $tree['plugins'])) if(array_key_exists('error', $tree['plugins']))
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)