Fixed bug #10047: typo3/contrib is not prefixed with config.absRefPrefix
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Sat, 3 Jan 2009 09:02:54 +0000 (09:02 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Sat, 3 Jan 2009 09:02:54 +0000 (09:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4643 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index 0d88ac9..ee4b24a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-03  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug #10047: typo3/contrib is not prefixed with config.absRefPrefix
+
 2009-01-01  Benjamin Mack  <benni@typo3.org>
 
        * Fixed bug #8361: Stage change notification emails not send when publishing from Live workspace (Thanks to Andreas Wolf)
index 8f76905..e98fd53 100755 (executable)
@@ -4038,6 +4038,8 @@ if (version == "n3") {
        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);
                }
        }