{"comment":{"commit_id":"98f85b177d6ebf6dbc3a2ec8313ef738eca2fbf2","position":7,"created_at":"2011-12-05T16:01:46Z","updated_at":"2011-12-05T16:01:46Z","user":{"gravatar_id":"957032d1a42d427c87665b9185fa1356","id":557589,"url":"https://api.github.com/users/Eclarian","login":"Eclarian","avatar_url":"https://secure.gravatar.com/avatar/957032d1a42d427c87665b9185fa1356?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"You shouldn't need filemtime at all in your conditional. It only duplicates the function call. If file_exists is false, it will never call the second conditional and if it is true, then filemtime will not return FALSE unless there are user access issues associated with the file itself. In this case, you want to see the error so you can correct the situation. This problem with the file would then come down to the underlying functions used by your server to access that file.\n\nThis line should be as follows:\n\n\t$date = (file_exists($dir)) ? filemtime($dir): getdate($this->now);","line":103,"id":769401,"path":"system/libraries/Zip.php","html_url":"https://github.com/tomcode/CodeIgniter/commit/98f85b177d#commitcomment-769401","url":"https://api.github.com/repos/tomcode/CodeIgniter/comments/769401"}}