diff options
author | Thomas Traub <thomastraub2000@yahoo.de> | 2011-12-05 17:08:50 +0100 |
---|---|---|
committer | Thomas Traub <thomastraub2000@yahoo.de> | 2011-12-05 17:08:50 +0100 |
commit | 7fcfbda4cd72d4198c9b45ac13bcbd47bf067b81 (patch) | |
tree | ebe1d47d72585769e07b7314920c897dbd6e4603 /system/libraries/Zip.php | |
parent | 98f85b177d6ebf6dbc3a2ec8313ef738eca2fbf2 (diff) |
Update system/libraries/Zip.php
Diffstat (limited to 'system/libraries/Zip.php')
-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 ef6c3e530..2fc30e469 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -100,7 +100,7 @@ class CI_Zip { function _get_mod_time($dir) { // filemtime() may return false, but raises an error for non-existing files - $date = (file_exists($dir) && filemtime($dir)) ? filemtime($dir) : getdate($this->now); + $date = (file_exists($dir) && $filemtime = filemtime($dir)) ? $filemtime : getdate($this->now); $time['file_mtime'] = ($date['hours'] << 11) + ($date['minutes'] << 5) + $date['seconds'] / 2; $time['file_mdate'] = (($date['year'] - 1980) << 9) + ($date['mon'] << 5) + $date['mday']; |