New way to read configuration tables:
(config_tables): New econfig key. (read_config_tables): New, implements config_tables. (main): Call it. Need to call ef_init() and chdir(configdir) first. (ef_init_srv): Don't call ef_init(), since main() did it already. Remove old way to do the same: (ef_load): Remove, along with calls. (empfile): Set configuration tables' member file back to NULL.
This commit is contained in:
parent
e4865d473e
commit
bd65a84eb5
8 changed files with 68 additions and 43 deletions
|
@ -43,6 +43,9 @@ char dflt_econfig[] = "@econfig@";
|
|||
/* Where to find configuration, which is wherever econfig is looked for */
|
||||
char *configdir;
|
||||
|
||||
/* User configuration tables to load, relative to configdir */
|
||||
char *config_tables = "";
|
||||
|
||||
/* Where to find info pages */
|
||||
char *infodir = "@einfodir@";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue