mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2026-03-14 20:55:50 +01:00
Fix #32, The date formatting issue
This commit is contained in:
parent
f35f503924
commit
dd63df8e63
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ $datetime_format = 'd.m.y H:i';
|
|||
$upload_extensions = ''; // 'gif,png,jpg'
|
||||
|
||||
// show or hide the left side tree view
|
||||
$show_tree_view = true;
|
||||
$show_tree_view = false;
|
||||
|
||||
//Array of folders excluded from listing
|
||||
$GLOBALS['exclude_folders'] = array(
|
||||
|
|
@ -1185,7 +1185,7 @@ foreach ($folders as $f) {
|
|||
foreach ($files as $f) {
|
||||
$is_link = is_link($path . '/' . $f);
|
||||
$img = $is_link ? 'fa fa-file-text-o' : fm_get_file_icon_class($path . '/' . $f);
|
||||
$modif = date("d.m.y H:i", filemtime($path . '/' . $f));
|
||||
$modif = date(FM_DATETIME_FORMAT, filemtime($path . '/' . $f));
|
||||
$filesize_raw = filesize($path . '/' . $f);
|
||||
$filesize = fm_get_filesize($filesize_raw);
|
||||
$filelink = '?p=' . urlencode(FM_PATH) . '&view=' . urlencode($f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue