Zeile 8 | Zeile 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 204 | Zeile 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 270 | Zeile 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;
|