From b4f647239b9f7cc59e365a2a2eaee12f23c42e9f Mon Sep 17 00:00:00 2001 From: s-ko Date: Thu, 25 Sep 2014 22:58:33 +0100 Subject: [PATCH] Moved date format to separate variable --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.39.5