Skip to content

Commit

Permalink
db_redis: use SHARE_DIR define for default value of schema path param
Browse files Browse the repository at this point in the history
- point to the folder where the schema files are deployed by make
install
  • Loading branch information
miconda committed Sep 26, 2018
1 parent 41c4391 commit ee95675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/db_redis/db_redis_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ee95675

Please sign in to comment.