Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Upload Area
#12
It's in admin/upload.php - if you seach there for 'mtime' (there is only one occurence), you'll find the location which has been changed by fix #821 in 3.3.3. If you search for 'ctime', you'll find another location which should have been changed (also or instead), I think. The first is for directories, the second for files. Before 3.3.3, both positions were set to 'ctime'.

Here is the relevant code snippet:

Code:
<?php include('template/include-nav.php'); ?>

<div class="bodycontent clearfix">
                                               $dirsArray[$dircount]['date'] = @date('M j, Y',$ss['mtime']);
           $dircount++;
                                       } else {
                                               $filesArray[$count]['name'] = $file;
                                                       $ext = substr($file, strrpos($file, '.') + 1);
                                               $extention = get_FileType($ext);
                                               $filesArray[$count]['type'] = $extention;
                                               clearstatcache();
                                               $ss = @stat($path . $file);
                                               $filesArray[$count]['date'] = @date('M j, Y',$ss['ctime']);
                                               $filesArray[$count]['size'] = fSize($ss['size']);
                                               $totalsize = $totalsize + $ss['size'];
                                               $count++;
                                       }
                               }
Reply


Messages In This Thread
File Upload Area - by lnickel - 2014-05-30, 00:39:44
RE: File Upload Area - by shawn_a - 2014-05-30, 02:49:13
RE: File Upload Area - by lnickel - 2014-05-30, 22:55:05
RE: File Upload Area - by shawn_a - 2014-05-30, 23:00:07
RE: File Upload Area - by lnickel - 2014-05-30, 23:02:15
RE: File Upload Area - by shawn_a - 2014-05-30, 23:05:35
RE: File Upload Area - by lnickel - 2014-05-31, 03:36:05
RE: File Upload Area - by lnickel - 2014-05-31, 03:44:27
RE: File Upload Area - by shawn_a - 2014-05-31, 03:54:17
RE: File Upload Area - by mawel - 2021-02-02, 21:35:21
RE: File Upload Area - by Felix - 2021-02-02, 21:59:53
RE: File Upload Area - by mawel - 2021-02-03, 00:46:46



Users browsing this thread: 1 Guest(s)