diff --git a/framework/src/com/phonegap/api/impl/Cache.java b/framework/src/com/phonegap/api/impl/Cache.java index 93e1f9f8..a9d54f4d 100644 --- a/framework/src/com/phonegap/api/impl/Cache.java +++ b/framework/src/com/phonegap/api/impl/Cache.java @@ -44,8 +44,7 @@ public final class Cache implements Command { String filePath = fileDir + "/" + fileName; File f = new File(filePath); - // f.exists() - if (false) { + if (f.exists()) { result = "{ file: '"+filePath+"', status: 0 }"; } else {