Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Set the virtual root from SCRIPT_NAME up front
The script name always holds a value, so the fallback after parsing
fired whenever cgitrc left virtual-root unset. The root is now set with
the other defaults, for cgitrc to replace. A die while cgitrc is read is
the one change, and its page now links the root with the trailing slash
every other page has.
Diffstat (limited to 'source/cgit.h')
| -rw-r--r-- | source/cgit.h | 1 |
1 file changed, 0 insertions, 1 deletion
diff --git a/source/cgit.h b/source/cgit.h index 5e17a3e..a089633 100644 --- a/source/cgit.h +++ b/source/cgit.h @@ -303,7 +303,6 @@ struct cgit_environment { const char *path_info; const char *query_string; const char *request_method; - const char *script_name; const char *server_name; const char *server_port; const char *http_cookie; |
