]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
Add include-parameter to config files
[ps-cgit] / shared.c
index ffecac888a76ea870df4811741d19cb61c1d662e..072bb6db4c6d0aa9d346f8f62a2aa5a47158ba3f 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -137,6 +137,8 @@ void cgit_global_config_cb(const char *name, const char *value)
                cgit_repo->snapshots = atoi(value);
        else if (cgit_repo && !strcmp(name, "repo.module-link"))
                cgit_repo->module_link= xstrdup(value);
+       else if (!strcmp(name, "include"))
+               cgit_read_config(value, cgit_global_config_cb);
 }
 
 void cgit_repo_config_cb(const char *name, const char *value)