From 7148c0b2dd20f9ec58304ed6ab154e901dba1bea Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 28 Nov 2013 12:09:41 +0100 Subject: add configuration file --- config.def.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 54f45b6..9712f30 100644 --- a/config.def.h +++ b/config.def.h @@ -8,6 +8,13 @@ #ifndef _CONFIG_H #define _CONFIG_H +/* path to the config file */ +#define CONFIGFILE "/etc/cqrlogo.conf" + +/* whether or not defaults or settings from config may be overwritten + * by query string */ +#define ALLOW_OVERWRITE 1 + /* pixels are scaled up by this factor */ #define QRCODE_SCALE 2 /* this is the maximum scale factor */ -- cgit v1.2.3-54-g00ecf