summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-06-26 19:14:26 +0000
committerZeev Suraski <zeev@php.net>1999-06-26 19:14:26 +0000
commitd4f24f19ad60ce0abd50dd48f3eb3cea8d97015c (patch)
treee4fa63211e3162f90b5d45b866715887fa441760 /ext
parent320541430be2bbcc62e3e8e0208e9a923ec7d83f (diff)
downloadphp-git-d4f24f19ad60ce0abd50dd48f3eb3cea8d97015c.tar.gz
* Get rid of another request_info element (filename)
* CGI through Apache should work now
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/pageinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c
index d1b3887239..81b0b2aa8a 100644
--- a/ext/standard/pageinfo.c
+++ b/ext/standard/pageinfo.c
@@ -78,7 +78,7 @@ static void _php3_statpage(void)
page_mtime = r->finfo.st_mtime;
#else
if (page_uid == -1) {
- path = request_info.filename;
+ path = SG(request_info).path_translated;
if (path != NULL) {
if (stat(path, &sb) == -1) {
php3_error(E_WARNING, "Unable to find file: '%s'", path);