From: s-ko Date: Thu, 25 Sep 2014 21:58:33 +0000 (+0100) Subject: Moved date format to separate variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4f647239b9f7cc59e365a2a2eaee12f23c42e9f;p=simple-upload.git Moved date format to separate variable --- diff --git a/index.php b/index.php index 9ed0398..6dc2bbd 100644 --- a/index.php +++ b/index.php @@ -35,6 +35,10 @@ 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, @@ -320,7 +324,7 @@ $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);