mirror of
https://gitee.com/shuto/cordova-plugin-dbcopy.git
synced 2024-10-06 01:32:06 +08:00
Update sqlDB.m
This commit is contained in:
parent
b12869ad6b
commit
5bf41b517b
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user