Project

General

Profile

Bug #27922 » class.tx_cssstyledcontent_pi1.patch

Georg Schönweger, 2011-07-06 18:29

View differences:

class.tx_cssstyledcontent_pi1.php 2011-07-06 18:27:28.758497001 +0200
// Get the list of files from the field
$field = (trim($conf['field']) ? trim($conf['field']) : 'media');
$fileList = $this->cObj->data[$field];
$GLOBALS['TSFE']->includeTCA();
t3lib_div::loadTCA('tt_content');
$path = 'uploads/media/';
if (is_array($GLOBALS['TCA']['tt_content']['columns'][$field]) && !empty($GLOBALS['TCA']['tt_content']['columns'][$field]['config']['uploadfolder'])) {
(1-1/2)