summaryrefslogtreecommitdiffstats
path: root/samples/LoadReport.php
diff options
context:
space:
mode:
Diffstat (limited to 'samples/LoadReport.php')
-rwxr-xr-xsamples/LoadReport.php4
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);