Skip to content

Commit 8abbe59

Browse files
author
N1ghteyes
committed
minor readme fix
1 parent 40ee7e6 commit 8abbe59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ See the example files, but typical useage takes the form of:
1010

1111
```
1212
//load class
13-
$cpuapi = new cpaneluapi();
13+
$cpuapi = new cpaneluapi('user', 'password', 'cpanel.example.com');
1414
1515
//Set the scope to the module we want to use. in this case, Mysql
1616
$cpuapi->scope = 'Mysql';
1717
1818
//call the function we want like this. Any arguments are passed into the function as an array, in the form of param => value.
19-
$cpuapi->get_restrictions();
19+
$response = $cpuapi->get_restrictions();
20+
print_r($response);
2021
```

0 commit comments

Comments
 (0)