Date incorrect after upload

Explorer-like frontend add-on to upload/download.
Post Reply
sorr
Posts: 14
Joined: Thu Jul 29, 2010 2:59 pm

Date incorrect after upload

Post by sorr »

When I upload any file via jdiskexplorer, the uploaded file shows a date of 1/15/1970. I am using explorer.php/process.php on an iis6 server using fastcgi. Please give me a clue as to why this is happening. thank you.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Date incorrect after upload

Post by support »

Open explorer.php and search for:
$date = fileatime($dirStr."/".$file);
and add:
$date = $date * 1000;

Does it help?

sorr
Posts: 14
Joined: Thu Jul 29, 2010 2:59 pm

Re: Date incorrect after upload

Post by sorr »

That worked perfectly. Thank you very much!

Post Reply