Line 38 | Line 38 |
---|
/** * Constructor. *
|
/** * Constructor. *
|
* @param string
| * @param string $install_id
|
*/ function __construct($install_id) {
| */ function __construct($install_id) {
|
Line 68 | Line 68 |
---|
function get_data_for_form() {
|
function get_data_for_form() {
|
return base64_encode(serialize($this->get_data_raw()));
| return base64_encode(json_encode($this->get_data_raw()));
|
}
/**
| }
/**
|
Line 124 | Line 124 |
---|
'zend.ze1_compatibility_mode' => (int) @ini_get('zend.ze1_compatibility_mode'), 'unicode.semantics' => (int) @ini_get('unicode.semantics'), 'zend_thread_safty' => (int) function_exists('zend_thread_id'),
|
'zend.ze1_compatibility_mode' => (int) @ini_get('zend.ze1_compatibility_mode'), 'unicode.semantics' => (int) @ini_get('unicode.semantics'), 'zend_thread_safty' => (int) function_exists('zend_thread_id'),
|
'extensions' => get_loaded_extensions(),
| 'extensions' => implode(',', get_loaded_extensions()),
|
); } }
| ); } }
|
Line 150 | Line 150 |
---|
// Start discovering the IPV4 server address, if available // Try apache, IIS, fall back to 0.0.0.0
|
// Start discovering the IPV4 server address, if available // Try apache, IIS, fall back to 0.0.0.0
|
$server_address = htmlspecialchars_decode($request->server('SERVER_ADDR', $request->server('LOCAL_ADDR', '0.0.0.0')));
| $server_address = html_entity_decode($request->server('SERVER_ADDR', $request->server('LOCAL_ADDR', '0.0.0.0')), ENT_COMPAT);
|
return array( 'os' => PHP_OS,
|
return array( 'os' => PHP_OS,
|
'httpd' => htmlspecialchars_decode($request->server('SERVER_SOFTWARE')),
| 'httpd' => html_entity_decode($request->server('SERVER_SOFTWARE'), ENT_COMPAT),
|
// we don't want the real IP address (for privacy policy reasons) but only // a network address to see whether your installation is running on a private or public network. 'private_ip' => $this->is_private_ip($server_address),
| // we don't want the real IP address (for privacy policy reasons) but only // a network address to see whether your installation is running on a private or public network. 'private_ip' => $this->is_private_ip($server_address),
|