Add multi-user support
[apps/core/preloaded/print-service.git] / include / pt_optionmapping.h
index ff13b19..bd2f8ef 100644 (file)
@@ -17,6 +17,9 @@
 *
 */
 
+/* For multi-user support */
+#include <tzplatform_config.h>
+
 #ifndef PT_OPTIONMAPPING_H
 #define PT_OPTIONMAPPING_H
 
@@ -51,7 +54,7 @@ typedef struct {
 } pt_resolution_keyword;
 
 #undef PT_OPTIONCUBE_TEST_PRINT
-#define PT_USER_OPTION_CONFIG_FILE "/opt/etc/cups/ppd/settings.cfg"
+#define PT_USER_OPTION_CONFIG_FILE tzplatform_mkpath(TZ_SYS_ETC, "cups/ppd/settings.cfg")
 
 ppd_choice_t *pt_selected_choice(int op, pt_orientation_e p);
 void pt_parse_options(ppd_file_t *ppd);