Update sqlDB.m

This commit is contained in:
Rahul Pandey 2017-03-16 17:15:38 +05:30 committed by GitHub
parent b12869ad6b
commit 5bf41b517b

View File

@ -154,7 +154,7 @@
fileManager = [NSFileManager defaultManager];
if (location == 0) {
if (location == 2) {
dbPath = [documentsDirectory stringByAppendingPathComponent:filename];
} else if(location == 1) {
dbPath = [libraryDirectory stringByAppendingPathComponent:filename];