Follow-up to #15950: use t3editor in file_edit to edit files in fileadmin
authorSteffen Kamper <info@sk-typo3.de>
Wed, 20 Oct 2010 09:17:33 +0000 (09:17 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 20 Oct 2010 09:17:33 +0000 (09:17 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9182 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/t3editor/classes/class.tx_t3editor.php

index c751780..c33e00e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-10-20  Steffen Kamper  <steffen@typo3.org>
 
+       * Follow-up to #15950: use t3editor in file_edit to edit files in fileadmin
        * Fixed bug #16019: Workspaces - Stage notification emails should be localizable
 
 2010-10-20  Ernesto Baschny  <ernst@cron-it.de>
index 7c5cda2..58e2a3f 100644 (file)
@@ -202,7 +202,7 @@ class tx_t3editor implements t3lib_Singleton {
             return '';
         }
 
-        $path_t3e = t3lib_extmgm::extRelPath('t3editor');
+        $path_t3e = $GLOBALS['BACK_PATH'] . t3lib_extmgm::extRelPath('t3editor');
 
         if ($this->mode == self::MODE_TYPOSCRIPT) {
                        $content .= '<script type="text/javascript" src="' . $path_t3e . 'res/jslib/ts_codecompletion/tsref.js' . '"></script>';