Fix passing of locale

This commit is contained in:
Robin Appelman 2013-03-03 22:52:21 +01:00
commit 719dcf6ca9
3 changed files with 17 additions and 5 deletions

View file

@ -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;
}