summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRobin Sowell <robin.sowell@ellislab.com>2010-04-09 17:18:26 +0200
committerRobin Sowell <robin.sowell@ellislab.com>2010-04-09 17:18:26 +0200
commit73c19fc2e15bb542053bc347ee922ceb26114696 (patch)
treea6d36cfc50954ab49279d3c8e9d8fae27ccbcb36 /system
parent0846d746cfe30f827dd20952a6b492ec4b61de95 (diff)
Modified get_file_info in the file helper, changing filectime() to filemtime() for dates.
Diffstat (limited to 'system')
-rw-r--r--system/helpers/file_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 274c4ad37..448bf275f 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -305,7 +305,7 @@ if ( ! function_exists('get_file_info'))
$fileinfo['size'] = filesize($file);
break;
case 'date':
- $fileinfo['date'] = filectime($file);
+ $fileinfo['date'] = filemtime($file);
break;
case 'readable':
$fileinfo['readable'] = is_readable($file);