Project

General

Profile

Bug #17344 ยป fileadmin-replacements.patch

Administrator Admin, 2009-12-24 17:21

View differences:

typo3/sysext/install/mod/class.tx_install.php (working copy)
'uploads/pics/' => array('Typical location for uploaded files (images especially).',0),
'uploads/media/' => array('Typical location for uploaded files (non-images especially).',0),
'uploads/tf/' => array('Typical location for uploaded files (TS template resources).',0),
'fileadmin/' => array('Location for local files such as templates, independent uploads etc.',-1),
'fileadmin/_temp_/' => array('Typical temporary location for default upload of files by administrators.',0),
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] => array('Location for local files such as templates, independent uploads etc.',-1),
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . '_temp_/' => array('Typical temporary location for default upload of files by administrators.',0),
);
foreach ($checkWrite as $relpath => $descr) {
t3lib/class.t3lib_tstemplate.php (working copy)
// Sets the paths from where TypoScript resources are allowed to be used:
$this->allowedPaths = Array(
'media/',
'fileadmin/',
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'], // fileadmin/ path
'uploads/',
'typo3temp/',
't3lib/fonts/',
    (1-1/1)