Update README.md

This commit is contained in:
Lucas Henrique Teixeira Coelho Dias 2019-05-08 12:23:13 -03:00 committed by GitHub
commit 8b5ab4ecf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ use Icewind\SMB\BasicAuth;
require('vendor/autoload.php');
$serverFactory = new ServerFactory();
$auth = new BasicAuth('test', 'workgroup', 'test');
$auth = new BasicAuth('user', 'workgroup', 'password');
$server = $serverFactory->createServer('localhost', $auth);
$share = $server->getShare('test');