diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-10 03:49:05 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-10 03:49:05 +0400 |
commit | 77e44d60e698c2164f610072e9f7e2bacefdd589 (patch) | |
tree | aead8cb0cf31e55735bd7681544f0c61290cbbae /Makefile.custom | |
parent | 66db264a5fd67ce4573c905c897a1e80ff26a461 (diff) |
httpd: move data off bss.
httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks
but it should not:
- /* SCRIPT_FILENAME required by PHP in CGI mode */
- if (!realpath(purl + 1, realpath_buff))
- goto error_execing_cgi;
- setenv1("SCRIPT_FILENAME", realpath_buff);
+
+ /* SCRIPT_FILENAME required by PHP in CGI mode */
+ fullpath = concat_path_file(home_httpd, purl);
+ setenv1("SCRIPT_FILENAME", fullpath);
Diffstat (limited to 'Makefile.custom')
0 files changed, 0 insertions, 0 deletions