Skip to content

Commit

Permalink
Update Vfs.php
Browse files Browse the repository at this point in the history
Add option to request full username
  • Loading branch information
Infern1 authored and yunosh committed Sep 6, 2016
1 parent feb0cb3 commit 239c5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingo/lib/Transport/Vfs.php
Expand Up @@ -112,8 +112,8 @@ protected function _connect()
/* Do variable substitution. */
if (!empty($this->_params['vfs_path'])) {
$this->_params['vfs_path'] = str_replace(
array('%u', '%d', '%U'),
array(Ingo::getUser(), Ingo::getDomain(), $this->_params['username']),
array('%u', '%d', '%U', '%u_full'),
array(Ingo::getUser(), Ingo::getDomain(), $this->_params['username'], Ingo::getUser(true)),
$this->_params['vfs_path']);
}

Expand Down

0 comments on commit 239c5ab

Please sign in to comment.