|
@@ -52,7 +52,7 @@ class cwp7_Admin {
|
|
|
$this->constructorSuccess = false;
|
|
$this->constructorSuccess = false;
|
|
|
return array('error_msg' => 'Error: Cannot resolve ' . $cwp7Hostname[0] . ', check server configuration');
|
|
return array('error_msg' => 'Error: Cannot resolve ' . $cwp7Hostname[0] . ', check server configuration');
|
|
|
}
|
|
}
|
|
|
- $this->cwp7Port = ($cwp7Hostname[1]) ? $cwp7Hostname[1] : '2304';
|
|
|
|
|
|
|
+ $this->cwp7Port = (isset($cwp7Hostname[1])) ? $cwp7Hostname[1] : '2304';
|
|
|
$this->cwp7URL = $this->cwp7ConType . $cwp7Hostname[0] . ':' . $this->cwp7Port;
|
|
$this->cwp7URL = $this->cwp7ConType . $cwp7Hostname[0] . ':' . $this->cwp7Port;
|
|
|
$this->cwp7Token = $token;
|
|
$this->cwp7Token = $token;
|
|
|
$this->constructorSuccess = true;
|
|
$this->constructorSuccess = true;
|