summaryrefslogtreecommitdiff
path: root/src/appsvc_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/appsvc_db.c')
-rwxr-xr-xsrc/appsvc_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/appsvc_db.c b/src/appsvc_db.c
index 4cc184b..08fd5bd 100755
--- a/src/appsvc_db.c
+++ b/src/appsvc_db.c
@@ -24,13 +24,13 @@
#include <string.h>
#include <stdlib.h>
#include <glib.h>
+#include <tzplatform_config.h>
#include "appsvc_db.h"
#include "internal.h"
-
-#define SVC_DB_PATH "/opt/dbspace/.appsvc.db"
-#define APP_INFO_DB_PATH "/opt/dbspace/.app_info.db"
+#define SVC_DB_PATH tzplatform_mkpath(TZ_SYS_DB, ".appsvc.db")
+#define APP_INFO_DB_PATH tzplatform_mkpath(TZ_SYS_DB, ".app_info.db")
#define QUERY_MAX_LEN 8192
#define URI_MAX_LEN 4096