diff options
author | arron <arron@copiadigital.co.uk> | 2013-12-05 18:28:08 +0000 |
---|---|---|
committer | arron <arron@copiadigital.co.uk> | 2013-12-05 18:28:08 +0000 |
commit | e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017 (patch) | |
tree | b7f17446bd2cbdb7dda26d04cbdc65679c8557f2 /samples/LoadReport.php | |
parent | e4ee94dbc8be64f9b53f1a323a314a60d0ac86d3 (diff) | |
download | php-ssrs-e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017.zip php-ssrs-e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017.tar.gz php-ssrs-e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017.tar.bz2 |
Namespaced
Diffstat (limited to 'samples/LoadReport.php')
-rwxr-xr-x | samples/LoadReport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/LoadReport.php b/samples/LoadReport.php index 81fb150..08061db 100755 --- a/samples/LoadReport.php +++ b/samples/LoadReport.php @@ -1,13 +1,13 @@ <?php -require('../library/SSRS/Report.php'); +require(__DIR__ . '/../vendor/autoload.php'); $options = array( 'username' => 'testing', 'password' => 'password' ); -$ssrs = new SSRS_Report('http://localhost/reportserver/', $options); +$ssrs = new \SSRS\Report('http://localhost/reportserver/', $options); $result = $ssrs->loadReport('/Reports/Reference_Report'); $ssrs->setSessionId($result->executionInfo->ExecutionID); |