summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrb-cohen <me@arronwoods.com>2015-05-13 15:38:42 +0100
committerrb-cohen <me@arronwoods.com>2015-05-13 15:38:42 +0100
commite7743c4ab7d56847719cd6b558e6532204716668 (patch)
tree3f42b60c808d2bc8cd0ee24a6fd62b5a7d549f59
parent7e809543eee98acbf12a462b86ae41e0c3502b3d (diff)
parent97b709b9928f47b346def5a447d56069454aba20 (diff)
downloadphp-ssrs-e7743c4ab7d56847719cd6b558e6532204716668.zip
php-ssrs-e7743c4ab7d56847719cd6b558e6532204716668.tar.gz
php-ssrs-e7743c4ab7d56847719cd6b558e6532204716668.tar.bz2
Merge pull request #17 from SmokeyBrandie/patch-3
Update Report.php
-rwxr-xr-xlibrary/SSRS/Report.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/SSRS/Report.php b/library/SSRS/Report.php
index 8129b23..d888473 100755
--- a/library/SSRS/Report.php
+++ b/library/SSRS/Report.php
@@ -63,7 +63,8 @@ class Report {
public function setOptions(array $options) {
$defaults = array(
- 'cache_wsdl_path' => null
+ 'cache_wsdl_path' => null,
+ 'curl_options' => null,
);
$this->options = array_merge($defaults, $options);
@@ -456,7 +457,8 @@ class Report {
$options = array(
'username' => $this->_username,
'password' => $this->_passwd,
- 'cache_wsdl_path' => $this->options['cache_wsdl_path']
+ 'cache_wsdl_path' => $this->options['cache_wsdl_path'],
+ 'curl_options' => $this->options['curl_options'],
);
$client = new SoapNTLM($this->_baseUri . '/' . $path, $options);