diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-01-06 13:56:03 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-01-06 13:56:03 +0100 |
commit | 5e7fa82eb634b47f5fb40694d9ee6eb9e4554019 (patch) | |
tree | 4cc8ddfa535e4a2f1c0955431bc1ce5b1345db16 /inc/search.php | |
parent | 3178426797da3e426be572a7681c3595d2166390 (diff) | |
download | rpg-5e7fa82eb634b47f5fb40694d9ee6eb9e4554019.tar.gz rpg-5e7fa82eb634b47f5fb40694d9ee6eb9e4554019.tar.bz2 |
show lastmod datetime in mediamanager FS#964
darcs-hash:20070106125603-7ad00-a10d366e8a3c7d58aacbffbe333b4fccba340f4a.gz
Diffstat (limited to 'inc/search.php')
-rw-r--r-- | inc/search.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/search.php b/inc/search.php index d8fe75122..d6a2166c5 100644 --- a/inc/search.php +++ b/inc/search.php @@ -207,6 +207,7 @@ function search_media(&$data,$base,$file,$type,$lvl,$opts){ $info['file'] = basename($file); $info['size'] = filesize($base.'/'.$file); + $info['mtime'] = filemtime($base.'/'.$file); $info['writable'] = is_writable($base.'/'.$file); if(preg_match("/\.(jpe?g|gif|png)$/",$file)){ $info['isimg'] = true; |