diff options
author | Ahmad Anbar <aanbar@gmail.com> | 2014-03-14 15:49:47 +0100 |
---|---|---|
committer | Ahmad Anbar <aanbar@gmail.com> | 2014-03-14 15:49:47 +0100 |
commit | 00421bf248f5b9270166f0057d3e493899057e81 (patch) | |
tree | b34e0ff5565efdbfbe91bff3f627964ea4d30510 /system/libraries | |
parent | b79d75d21fc9438679ed0552b8cd4042db80b8f6 (diff) |
Fixed filemtime
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Zip.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index c634b1133..ab30a9019 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -133,7 +133,7 @@ class CI_Zip { protected function _get_mod_time($dir) { // filemtime() may return false, but raises an error for non-existing files - $date = file_exists($dir) ? filemtime($dir) : getdate($this->now); + $date = file_exists($dir) ? getdate(filemtime($dir)) : getdate($this->now); return array( 'file_mtime' => ($date['hours'] << 11) + ($date['minutes'] << 5) + $date['seconds'] / 2, |