Project

General

Profile

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

Administrator Admin, 2011-01-13 14:14

View differences:

typo3/sysext/version/cm1/index.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:
typo3/sysext/version/ws/class.wslib_gui.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:
(11-11/21)