CVS update: php4/ext/standard
| From: | zeev | Date: | Sat, 26 Jun 1999 19:14:27 +0000 |
| Subject: | CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1687@lists.php.net to get a copy of this message | ||
Date: Saturday June 26, 1999 @ 15:14
Author: zeev
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv31719/ext/standard
Modified Files:
pageinfo.c
Log Message:
* Get rid of another request_info element (filename)
* CGI through Apache should work now
Index: php4/ext/standard/pageinfo.c
diff -u php4/ext/standard/pageinfo.c:1.5 php4/ext/standard/pageinfo.c:1.6
--- php4/ext/standard/pageinfo.c:1.5 Sun May 16 07:19:26 1999
+++ php4/ext/standard/pageinfo.c Sat Jun 26 15:14:26 1999
@@ -26,7 +26,7 @@
| Authors: Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: pageinfo.c,v 1.5 1999/05/16 11:19:26 sas Exp $ */
+/* $Id: pageinfo.c,v 1.6 1999/06/26 19:14:26 zeev Exp $ */
#include "php.h"
#include "pageinfo.h"
@@ -78,7 +78,7 @@
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);