Bug #21937 ยป fileadminDir.diff
t3lib/class.t3lib_tsparser_ext.php (working copy) | ||
---|---|---|
* @return [type] ...
|
||
*/
|
||
function ext_readDirResources($path) {
|
||
$path=trim($path);
|
||
if ($path && substr($path,0,10)=='fileadmin/') {
|
||
$path = trim($path);
|
||
if ($path && substr($path, 0, 10) == $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir']) {
|
||
$path = rtrim($path, '/');
|
||
$this->readDirectory(PATH_site.$path);
|
||
$this->readDirectory(PATH_site . $path);
|
||
}
|
||
}
|
||
... | ... | |
$val=trim($val);
|
||
$fI=t3lib_div::split_fileref($val);
|
||
if ($val && (!$extList || t3lib_div::inList($extList,$fI['fileext']))) {
|
||
if ($onlineResourceFlag<=0 && substr($fI['path'],0,10)=='fileadmin/') {
|
||
if ($onlineResourceFlag <= 0 && substr($fI['path'], 0, 10) == $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir']) {
|
||
if ($onlineResourceFlag<0) {
|
||
$p_field.='<option value=""></option>';
|
||
}
|
typo3/mod/tools/em/class.em_index.php (working copy) | ||
---|---|---|
t3lib_div::isFirstPartOfStr($removePath,PATH_site.$this->typePaths['G']) ||
|
||
t3lib_div::isFirstPartOfStr($removePath,PATH_site.$this->typePaths['L']) ||
|
||
(t3lib_div::isFirstPartOfStr($removePath,PATH_site.$this->typePaths['S']) && $this->systemInstall) ||
|
||
t3lib_div::isFirstPartOfStr($removePath,PATH_site.'fileadmin/_temp_/')) // Playing-around directory...
|
||
t3lib_div::isFirstPartOfStr($removePath, PATH_site . $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . '_temp_/')) // Playing-around directory...
|
||
) {
|
||
// All files in extension directory:
|
||
... | ... | |
$path = PATH_site.$this->typePaths[$type];
|
||
$suffix = '';
|
||
} else {
|
||
$path = PATH_site.'fileadmin/_temp_/';
|
||
$path = PATH_site . $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . '_temp_/';
|
||
$suffix = '_'.date('dmy-His');
|
||
}
|
||
break;
|
typo3/sysext/cms/tslib/class.tslib_pagegen.php (working copy) | ||
---|---|---|
}
|
||
$GLOBALS['TSFE']->compensateFieldWidth = ''.$GLOBALS['TSFE']->config['config']['compensateFieldWidth'];
|
||
$GLOBALS['TSFE']->lockFilePath = ''.$GLOBALS['TSFE']->config['config']['lockFilePath'];
|
||
$GLOBALS['TSFE']->lockFilePath = $GLOBALS['TSFE']->lockFilePath ? $GLOBALS['TSFE']->lockFilePath : 'fileadmin/';
|
||
$GLOBALS['TSFE']->lockFilePath = $GLOBALS['TSFE']->lockFilePath ? $GLOBALS['TSFE']->lockFilePath : $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'];
|
||
$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_noScaleUp'] = isset($GLOBALS['TSFE']->config['config']['noScaleUp']) ? ''.$GLOBALS['TSFE']->config['config']['noScaleUp'] : $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_noScaleUp'];
|
||
$GLOBALS['TSFE']->TYPO3_CONF_VARS['GFX']['im_noScaleUp'] = $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_noScaleUp'];
|
||
typo3/sysext/dbal/handlers/class.tx_dbal_handler_openoffice.php (working copy) | ||
---|---|---|
$this->unzip->putFileToArchive('content.xml', $content_xml['content']);
|
||
// Writing ZIP content back to zip-archive file:
|
||
$result = $this->unzip->compileZipFile('fileadmin/dbtest_output.sxc');
|
||
$result = $this->unzip->compileZipFile($GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . 'dbtest_output.sxc');
|
||
debug($result);
|
||
typo3/sysext/install/report/class.tx_install_report_installstatus.php (working copy) | ||
---|---|---|
'uploads/pics/' => 0,
|
||
'uploads/media/' => 0,
|
||
'uploads/tf/' => 0,
|
||
'fileadmin/' => -1,
|
||
'fileadmin/_temp_/' => 0,
|
||
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] => -1,
|
||
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . '_temp_/' => 0,
|
||
);
|
||
foreach ($checkWritable as $relPath => $requirementLevel) {
|