mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Fix passing of locale
This commit is contained in:
parent
7353a25b99
commit
719dcf6ca9
3 changed files with 17 additions and 5 deletions
|
|
@ -38,6 +38,13 @@ class Share {
|
|||
$this->connection->write($this->server->getPassword());
|
||||
}
|
||||
|
||||
public function connect() {
|
||||
$command = Server::CLIENT . ' -U ' . escapeshellarg($this->server->getUser()) .
|
||||
' //' . $this->server->getHost() . '/' . $this->name;
|
||||
$this->connection = new Connection($command);
|
||||
$this->connection->write($this->server->getPassword());
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
return $this->name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue