diff options
| author | Zeev Suraski <zeev@php.net> | 1999-05-02 19:54:02 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-05-02 19:54:02 +0000 |
| commit | a5ab6b9638c76748f7b9b66ebbd4d8cacf682250 (patch) | |
| tree | 68c045f85fd7ea5fd8c20d2d460180392352be31 /main/fopen_wrappers.c | |
| parent | 7071131f81c53b5ff062f724a0aa758a5138e012 (diff) | |
| download | php-git-a5ab6b9638c76748f7b9b66ebbd4d8cacf682250.tar.gz | |
Move path_info to the SAPI structure
Diffstat (limited to 'main/fopen_wrappers.c')
| -rw-r--r-- | main/fopen_wrappers.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 8b2814bf88..2a563c6bc7 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -31,6 +31,7 @@ #include "php.h" #include "php_globals.h" +#include "SAPI.h" #include <stdio.h> #include <stdlib.h> @@ -205,9 +206,10 @@ PHPAPI FILE *php3_fopen_for_parser(void) char *temp, *path_info, *fn; int l; PLS_FETCH(); + SLS_FETCH(); fn = request_info.filename; - path_info = request_info.path_info; + path_info = SG(request_info).request_uri; #if HAVE_PWD_H if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) { |
