Zeile 6 | Zeile 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 4386 2009-06-25 07:30:06Z RyanGordon $
| * $Id: plugins.php 5154 2010-07-31 09:11:51Z RyanGordon $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 56 | Zeile 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) {
|