]> git.mxchange.org Git - simple-upload.git/commitdiff
Moved date format to separate variable
authors-ko <aleks@s-ko.net>
Thu, 25 Sep 2014 21:58:33 +0000 (22:58 +0100)
committers-ko <aleks@s-ko.net>
Thu, 25 Sep 2014 21:58:33 +0000 (22:58 +0100)
index.php

index 9ed0398463af80d332c914d9b1f2c1563fef42bd..6dc2bbd83b12cf9839e5e54c795d3c1fa5140620 100644 (file)
--- a/index.php
+++ b/index.php
                listfiles_date => true,
 
 
+               // Display file dates format
+               listfiles_date_format => 'F d Y H:i:s',
+
+
                // Randomize file names (number of 'false')
                random_name_len => 10,
 
                                                                $file_info[] = FormatSize(filesize($filename));
 
                                                        if ($settings['listfiles_size'])
-                                                               $file_info[] = date ('F d Y H:i:s.', filemtime($filename));
+                                                               $file_info[] = date ($settings['listfiles_date_format'], filemtime($filename));
 
                                                        $file_info = implode(', ', $file_info);