/* for log */
#include "utility/sync_util.h"
+#include <tzplatform_config.h>
+
#ifndef EXPORT_API
#define EXPORT_API __attribute__ ((visibility("default")))
#endif
#define LOG_TAG "PLUGIN_PM_SYSNOTI_WAP_PUSH"
#endif
-#define CP_HEADER_DATA_PATH "/opt/data/header_log.wbxml"
-#define CP_BODY_DATA_PATH "/opt/data/body_log.wbxml"
+#define CP_HEADER_DATA_PATH tzplatform_mkpath(TZ_SYS_DATA,"header_log.wbxml")
+#define CP_BODY_DATA_PATH tzplatform_mkpath(TZ_SYS_DATA,"body_log.wbxml")
static msg_handle_t msg_handle = NULL;