Commit 552f6e03 authored by Till Brehm's avatar Till Brehm

Merge branch 'patch-1' into 'master'

Update import_ispconfig.php

See merge request !644
parents fd18c925 92d994f9
......@@ -109,10 +109,21 @@ if(isset($_POST['connected'])) {
try {
//* Second connections to self signed SSL certs
$context = stream_context_create(
array(
'ssl' => array (
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
)
);
$client = new SoapClient(null, array('location' => $_POST['remote_server'],
'uri' => $_POST['remote_server'].'/index.php',
'trace' => 1,
'exceptions' => 1));
'exceptions' => 1,
'stream_context' => $context));
if(!isset($remote_session_id)) $remote_session_id = $_POST['remote_session_id'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment