Skip to content

Commit

Permalink
Merge branch 'master' into 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
domibarton committed Oct 13, 2015
2 parents c3a8e03 + 3899177 commit 655504b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
"php": ">=5.3.0"
},
"autoload": {
"psr-0": {
"ZabbixApi": "build"
}
"classmap": ["build/"]
}
}
}
4 changes: 2 additions & 2 deletions templates/abstract.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ public function __construct($apiUrl='', $user='', $password='', $httpUser='', $h
if ($httpUser && $httpPassword)
$this->setBasicAuthorization($httpUser, $httpPassword);

$this->setVerifyPeer($verifyPeer);

if ($authId)
$this->setAuthId($authId);
elseif($user && $password)
$this->userLogin(array('user' => $user, 'password' => $password));

$this->setVerifyPeer($verifyPeer);
}

/**
Expand Down

0 comments on commit 655504b

Please sign in to comment.