summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-12-17 09:48:02 +0100
committerAndrey Andreev <narf@bofh.bg>2012-12-17 09:48:02 +0100
commit3bc548e2c3be4cc76255a586821edf6d943657fb (patch)
tree00a5e5723b9b3159543bc391a3a254f5bf0cfab5 /system
parenta8e34acb42552b4668b327cc6fcefab5c6d3442b (diff)
Fix 2073
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Zip.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php
index 9ecd0de9f..5eb33d29c 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) ? @filemtime($dir) : getdate($this->now);
return array(
'file_mtime' => ($date['hours'] << 11) + ($date['minutes'] << 5) + $date['seconds'] / 2,