From 7d25827001493a82a8f75cfc6a0b956164b44f05 Mon Sep 17 00:00:00 2001 From: Guilherme Menaldo Date: Tue, 1 Oct 2019 22:57:09 -0300 Subject: Dehardcodes db files base path so the db folder can be easily moved --- src/config/const.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/config') diff --git a/src/config/const.h b/src/config/const.h index 4767b5721..df8c07b67 100644 --- a/src/config/const.h +++ b/src/config/const.h @@ -49,10 +49,13 @@ /** * Path within the /db folder to (non-)renewal specific db files **/ +#define DBPATH_RE "re/" +#define DBPATH_PRE "pre-re/" + #ifdef RENEWAL - #define DBPATH "re/" + #define DBPATH DBPATH_RE #else - #define DBPATH "pre-re/" + #define DBPATH DBPATH_PRE #endif /** -- cgit v1.2.3-70-g09d2