Some more small updates.'

This commit is contained in:
skeeter 2001-12-24 03:18:50 +00:00
parent b6f77ce887
commit 3147adcd72
2 changed files with 4 additions and 4 deletions

View File

@ -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'))
{ {

View File

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