1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04:00

Make PHP 5 happy.

This commit is contained in:
2006-01-16 11:45:17 +01:00
parent bb9b4437fa
commit 04b253eef9

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