Project

General

Profile

Feature #19760 » 10047_4-2.diff

Administrator Admin, 2009-01-03 10:04

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
function setAbsRefPrefix() {
if ($this->absRefPrefix) {
$this->content = str_replace('"media/', '"'.t3lib_extMgm::siteRelPath('cms').'tslib/media/', $this->content);
$this->content = str_replace('"typo3conf/ext/', '"'.$this->absRefPrefix.'typo3conf/ext/', $this->content);
$this->content = str_replace('"typo3/contrib/', '"'.$this->absRefPrefix.'typo3/contrib/', $this->content);
$this->content = str_replace('"'.$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'], '"'.$this->absRefPrefix.$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'], $this->content);
}
}
(2-2/2)