summaryrefslogtreecommitdiff
path: root/ug-nfc-setting-efl/src/ug-nfc-setting-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'ug-nfc-setting-efl/src/ug-nfc-setting-db.c')
-rw-r--r--ug-nfc-setting-efl/src/ug-nfc-setting-db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ug-nfc-setting-efl/src/ug-nfc-setting-db.c b/ug-nfc-setting-efl/src/ug-nfc-setting-db.c
index b18d1a1..0df8b2c 100644
--- a/ug-nfc-setting-efl/src/ug-nfc-setting-db.c
+++ b/ug-nfc-setting-efl/src/ug-nfc-setting-db.c
@@ -17,9 +17,10 @@
#include "ug-nfc-setting-main.h"
#include "ug-nfc-setting-db.h"
+#include <tzplatform_config.h>
-#define DB_FILE_PATH "/opt/usr/dbspace/.net-nfcpush.db"
+#define DB_FILE_PATH tzplatform_mkpath(TZ_USER_DB, ".net-nfcpush.db")
#define DB_TABLE_NAME "NfcPushMsgTable"
/* sqlite> .schema */