fixed bug #4030 - filemtime for time modified; merged from MOODLE_15_STABLE

This commit is contained in:
skodak 2005-11-04 11:32:48 +00:00
parent 6a21526c0c
commit 539d335c2f

View File

@ -134,7 +134,7 @@ function display() {
echo $filesize;
echo '</td>';
echo '<td align="right" nowrap="nowrap" class="date">';
echo userdate(filectime("$CFG->dataroot/$relativepath/$file"), $strftime);
echo userdate(filemtime("$CFG->dataroot/$relativepath/$file"), $strftime);
echo '</td>';
echo '</tr>';
}