mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Update README.md
This commit is contained in:
parent
2580be8caf
commit
8b5ab4ecf3
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ use Icewind\SMB\BasicAuth;
|
||||||
require('vendor/autoload.php');
|
require('vendor/autoload.php');
|
||||||
|
|
||||||
$serverFactory = new ServerFactory();
|
$serverFactory = new ServerFactory();
|
||||||
$auth = new BasicAuth('test', 'workgroup', 'test');
|
$auth = new BasicAuth('user', 'workgroup', 'password');
|
||||||
$server = $serverFactory->createServer('localhost', $auth);
|
$server = $serverFactory->createServer('localhost', $auth);
|
||||||
|
|
||||||
$share = $server->getShare('test');
|
$share = $server->getShare('test');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue