Bug #41120
closed
Hardcoded fileadmin directory in Import-Export
Added by Pascal Oberhaensli about 12 years ago.
Updated about 6 years ago.
Description
$fileAdminDir is hardcoded in t3lib\class.t3lib_softrefproc.php and typo3\sysext\impexp\class.tx_impexp.php
$TYPO3_CONF_VARS['BE']['fileadminDir'] should be used instead
If $fileAdminDir is 'fileadmin' and you have changed your fileadminDir in the localconf.php the Reference Index cannot work anymore. Ref column in the filelist for your files will then be empty.
$fileadminFolderName is the var in typo3\sysext\impexp\class.tx_impexp.php
- Status changed from New to Accepted
Still valid up to version 6.0.
Would you like to create a patch for that, setting the class member variable with the TYPO3_CONF_VARS value in the constructor of that class (creating the __construct() method is required as well)?
See http://wiki.typo3.org/Git if you need a quick guide with Git or just get back to me.
- Subject changed from $fileAdminDir hardcoded to Hardcoded fileadmin directory in Import-Export
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
The 4.6 and 4.5 backports should NOT be done, the patch is not important enough for that, especially considering the regression of #42454
- Status changed from Resolved to Closed
Also available in: Atom
PDF