1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Make PHP 5 happy.

This commit is contained in:
2006-01-16 11:45:17 +01:00 committed by Jonas Fonseca
parent 9341c9085e
commit c287c42a07

View File

@ -150,6 +150,7 @@ set_vars(struct connection *conn, unsigned char *script)
if (env_set("SCRIPT_NAME", script, -1)) return -1;
if (env_set("SCRIPT_FILENAME", script, -1)) return -1;
if (env_set("PATH_TRANSLATED", script, -1)) return -1;
if (env_set("REDIRECT_STATUS", "1", -1)) return -1;
/* From now on, just HTTP-like headers are being set. Missing variables
* due to full environment are not a problem according to the CGI/1.1