Project

General

Profile

Task #24551 » getURL-typo3-sysext-workspaces.diff

Administrator Admin, 2011-01-13 14:15

View differences:

typo3/sysext/workspaces/Classes/Service/GridData.php
// Traverse filenames and read their md5 sum:
foreach ($files1 as $filename => $tmp) {
$files1[$filename] = @is_file(PATH_site . $uploadFolder . '/' . $filename) ? md5(t3lib_div::getUrl(PATH_site . $uploadFolder . '/' . $filename)) : $filename;
$files1[$filename] = @is_file(PATH_site . $uploadFolder . '/' . $filename) ? md5(t3lib_div::getURL(PATH_site . $uploadFolder . '/' . $filename)) : $filename;
}
foreach ($files2 as $filename => $tmp) {
$files2[$filename] = @is_file(PATH_site . $uploadFolder . '/' . $filename) ? md5(t3lib_div::getUrl(PATH_site . $uploadFolder . '/' . $filename)) : $filename;
$files2[$filename] = @is_file(PATH_site . $uploadFolder . '/' . $filename) ? md5(t3lib_div::getURL(PATH_site . $uploadFolder . '/' . $filename)) : $filename;
}
// Implode MD5 sums and set flag:
(12-12/21)