Vergleich inc/functions_serverstats.php - 1.8.4 - 1.8.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 8Zeile 8
 *
*/


 *
*/


 
/**
* @param int $is_install
* @param string $prev_version
* @param string $current_version
* @param string $charset
*
* @return array
*/

function build_server_stats($is_install=1, $prev_version='', $current_version='', $charset='')
{
$info = array();

function build_server_stats($is_install=1, $prev_version='', $current_version='', $charset='')
{
$info = array();

Zeile 204Zeile 212
	// Check the hosting company
if(strpos($_SERVER['HTTP_HOST'], ".") !== false)
{

	// Check the hosting company
if(strpos($_SERVER['HTTP_HOST'], ".") !== false)
{

		$host_url = "http://www.whoishostingthis.com/".str_replace(array('http://', 'www.'), '', $_SERVER['HTTP_HOST']);

		$host_url = "http://www.whoishostingthis.com/".str_replace(array('http://', 'https://', 'www.'), '', $_SERVER['HTTP_HOST']);


$hosting = fetch_remote_file($host_url);



$hosting = fetch_remote_file($host_url);


Zeile 270Zeile 278
		$amp = "&";
}


		$amp = "&";
}


	$server_stats_url = 'http://community.mybb.com/server_stats.php?'.$string;

	$server_stats_url = 'https://community.mybb.com/server_stats.php?'.$string;


$return = array();
$return['info_sent_success'] = false;


$return = array();
$return['info_sent_success'] = false;