Module: kamailio
Branch: master
Commit: ee95675177466a7ae5f9575db300df32e42661f2
URL:
https://github.com/kamailio/kamailio/commit/ee95675177466a7ae5f9575db300df3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-09-26T20:07:20+02:00
db_redis: use SHARE_DIR define for default value of schema path param
- point to the folder where the schema files are deployed by make
install
---
Modified: src/modules/db_redis/db_redis_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ee95675177466a7ae5f9575db300df3…
Patch:
https://github.com/kamailio/kamailio/commit/ee95675177466a7ae5f9575db300df3…
---
diff --git a/src/modules/db_redis/db_redis_mod.c b/src/modules/db_redis/db_redis_mod.c
index 60547eeee1..a360327c28 100644
--- a/src/modules/db_redis/db_redis_mod.c
+++ b/src/modules/db_redis/db_redis_mod.c
@@ -32,7 +32,7 @@
MODULE_VERSION
str redis_keys = str_init("");
-str redis_schema_path = str_init("/usr/share/kamailio/db_redis/kamailio");
+str redis_schema_path = str_init(SHARE_DIR "db_redis/kamailio");
int db_redis_verbosity = 1;
static int db_redis_bind_api(db_func_t *dbb);