summaryrefslogtreecommitdiffstats
path: root/samples/ListChildren.php
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ListChildren.php')
-rwxr-xr-xsamples/ListChildren.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/ListChildren.php b/samples/ListChildren.php
index 513e7a2..ccedde4 100755
--- a/samples/ListChildren.php
+++ b/samples/ListChildren.php
@@ -1,13 +1,13 @@
<?php
-require(dirname(__FILE__) . '/../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->listChildren('/Reports', true);
foreach ($result->CatalogItems AS $item) {