diff options
author | Lars Hjemli | 2010-03-22 00:09:43 +0100 |
---|---|---|
committer | Lars Hjemli | 2010-03-22 00:09:43 +0100 |
commit | ba56a37e863d0f90e3e953047486905cfb959925 (patch) | |
tree | 965e2c917f472264de35125eec35c361984eba4f /ui-repolist.c | |
parent | ff3a3b4e2b7463bb8cb370bdda393e8b3526fcb9 (diff) | |
download | cgit-ba56a37e863d0f90e3e953047486905cfb959925.tar.gz cgit-ba56a37e863d0f90e3e953047486905cfb959925.tar.bz2 cgit-ba56a37e863d0f90e3e953047486905cfb959925.zip |
Add support for environment variable expansion
This patch teaches cgit to expand environment variables in certain
cgitrc option values (cache_root, scan-path, include) plus when
finding the location of cgitrc itself.
One use case for this feature is virtual hosting - e.g. by setting
$CGIT_CONFIG='/etc/cgitrc/$HTTP_HOST' in httpd.conf, all virtual
hosts automatically gets their own cgitrc.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-repolist.c')
0 files changed, 0 insertions, 0 deletions