* Fixed issue 5952 (complete): Usability Issue with classes wrapped with <> in select lists
* Added feature 6034: Improvements of inlineCSS: adding classes to inline elements without additional span
* Fixed issue 6839: sub and sup are added via CSS instead of tags in Safari
-
+ * Fixed issue 7052: Permission problem of RTE images
2008-01-05 Stanislas Rolland <stanislas.rolland@fructifor.ca>
* Fixed issue 5952 (complete): Usability Issue with classes wrapped with <> in select lists
* Added feature 6034: Improvements of inlineCSS: adding classes to inline elements without additional span
* Fixed issue 6839: sub and sup are added via CSS instead of tags in Safari
+ * Fixed issue 7052: Permission problem of RTE images
2008-01-05 Stanislas Rolland <stanislas.rolland@fructifor.ca>
$destPath =PATH_site.$this->rteImageStorageDir();
if (@is_dir($destPath)) {
$destName = $fileFunc->getUniqueName($basename,$destPath);
+ if (isset($TYPO3_CONF_VARS['BE']['fileCreateMask'])) {
+ @chmod($destName, $TYPO3_CONF_VARS['BE']['fileCreateMask']);
+ }
@copy($imgInfo[3],$destName);
$cWidth = t3lib_div::intInRange(t3lib_div::_GP('cWidth'),0,$this->magicMaxWidth);
$fI=pathinfo($imgI[3]);
$mainBase='RTEmagicC_'.substr(basename($destName),10).'.'.$fI['extension'];
$destName = $fileFunc->getUniqueName($mainBase,$destPath);
+ if (isset($TYPO3_CONF_VARS['BE']['fileCreateMask'])) {
+ @chmod($destName, $TYPO3_CONF_VARS['BE']['fileCreateMask']);
+ }
@copy($imgI[3],$destName);
$destName = dirname($destName).'/'.rawurlencode(basename($destName));