-rw-r--r-- | shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,2 +28,3 @@ int cgit_nocache = 0; int cgit_snapshots = 0; +int cgit_enable_index_links = 0; int cgit_enable_log_filecount = 0; @@ -148,2 +149,4 @@ void cgit_global_config_cb(const char *name, const char *value) cgit_snapshots = atoi(value); + else if (!strcmp(name, "enable-index-links")) + cgit_enable_index_links = atoi(value); else if (!strcmp(name, "enable-log-filecount")) |