mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Some more small updates.'
This commit is contained in:
parent
b6f77ce887
commit
3147adcd72
@ -115,7 +115,7 @@
|
|||||||
$this->userinfo['username'] = $GLOBALS['phpgw_info']['user']['account_id'];
|
$this->userinfo['username'] = $GLOBALS['phpgw_info']['user']['account_id'];
|
||||||
$this->userinfo['account_lid'] = $GLOBALS['phpgw']->accounts->id2name($this->userinfo['username']);
|
$this->userinfo['account_lid'] = $GLOBALS['phpgw']->accounts->id2name($this->userinfo['username']);
|
||||||
$this->userinfo['hdspace'] = 10000000000;
|
$this->userinfo['hdspace'] = 10000000000;
|
||||||
$this->homedir = $this->fakebase.'/'.$this->userinfo['account_lid'];
|
$this->homedir = $this->fakebase.SEP.$this->userinfo['account_lid'];
|
||||||
|
|
||||||
if(!defined('NULL'))
|
if(!defined('NULL'))
|
||||||
{
|
{
|
||||||
|
@ -78,8 +78,8 @@
|
|||||||
|
|
||||||
$p->set_var('error','<br><br>Go to your <a href="'.$GLOBALS['phpgw']->link('/index.php',
|
$p->set_var('error','<br><br>Go to your <a href="'.$GLOBALS['phpgw']->link('/index.php',
|
||||||
Array(
|
Array(
|
||||||
'menuaction' => 'phpwebhosting.uiphpwebhosting.index',
|
'menuaction' => $this->bo->appname.'.ui'.$this->bo->appname.'.index',
|
||||||
'path' => $this->bo->homedir
|
'path' => urlencode($this->bo->homedir)
|
||||||
)
|
)
|
||||||
).'">Home</a> directory'
|
).'">Home</a> directory'
|
||||||
);
|
);
|
||||||
@ -147,7 +147,7 @@
|
|||||||
$this->bo->path != $this->bo->fakebase &&
|
$this->bo->path != $this->bo->fakebase &&
|
||||||
!$this->bo->vfs->file_exists($this->bo->path,Array(RELATIVE_NONE)))
|
!$this->bo->vfs->file_exists($this->bo->path,Array(RELATIVE_NONE)))
|
||||||
{
|
{
|
||||||
$this->no_access_exists(lang('Directory '.$this->bo->path.' does not exist'));
|
$this->no_access_exists(lang('Directory X does not exist',$this->bo->path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user