diff options
author | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-10-01 22:57:09 -0300 |
---|---|---|
committer | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-10-05 16:42:54 -0300 |
commit | 7d25827001493a82a8f75cfc6a0b956164b44f05 (patch) | |
tree | 911eff2691b6804c6a971bd86234313ee1af7dcf /src/config | |
parent | d026e28fd78f60dfa21da381f17f2a8cc9ae3d11 (diff) | |
download | hercules-7d25827001493a82a8f75cfc6a0b956164b44f05.tar.gz hercules-7d25827001493a82a8f75cfc6a0b956164b44f05.tar.bz2 hercules-7d25827001493a82a8f75cfc6a0b956164b44f05.tar.xz hercules-7d25827001493a82a8f75cfc6a0b956164b44f05.zip |
Dehardcodes db files base path so the db folder can be easily moved
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/const.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 /** |