Project

General

Profile

Feature #20512 ยป 11199.diff

Administrator Admin, 2009-05-27 20:06

View differences:

typo3/sysext/viewpage/view/index.php (working copy)
$addCmd = '&ADMCMD_view=1&ADMCMD_editIcons=1'.t3lib_BEfunc::ADMCMD_previewCmds($this->pageinfo);
}
$parts = parse_url(t3lib_div::getIndpEnv('TYPO3_SITE_URL'));
$dName = t3lib_BEfunc::getDomainStartPage($parts['host'],$parts['path']) ?
t3lib_BEfunc::firstDomainRecord(t3lib_BEfunc::BEgetRootLine($this->id)):
'';
$dName = t3lib_BEfunc::firstDomainRecord(t3lib_BEfunc::BEgetRootLine($this->id));
$this->url.= ($dName?(t3lib_div::getIndpEnv('TYPO3_SSL') ? 'https://' : 'http://').$dName:$BACK_PATH.'..').'/index.php?id='.$this->id.($this->type?'&type='.$this->type:'').$addCmd;
//debug($this->url);
}
/**
    (1-1/1)