summaryrefslogtreecommitdiff
path: root/sapi/nsapi
diff options
context:
space:
mode:
authorUwe Schindler <thetaphi@php.net>2004-09-20 13:30:13 +0000
committerUwe Schindler <thetaphi@php.net>2004-09-20 13:30:13 +0000
commit74fe4ec0cbdb90f9ccdd9c754904aef664425899 (patch)
treedd1d1952b08a37778890d6bf5dcb929956b545cc /sapi/nsapi
parent4af4cf0914489cde4cd6ce408c9824250dec3888 (diff)
downloadphp-git-74fe4ec0cbdb90f9ccdd9c754904aef664425899.tar.gz
changed order of processing of ini entries
Diffstat (limited to 'sapi/nsapi')
-rw-r--r--sapi/nsapi/nsapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c
index d68bd321b5..2bb4108cc7 100644
--- a/sapi/nsapi/nsapi.c
+++ b/sapi/nsapi/nsapi.c
@@ -933,10 +933,10 @@ int NSAPI_PUBLIC php5_execute(pblock *pb, Session *sn, Request *rq)
SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0);
SG(sapi_headers).http_response_code = (error_directive) ? rq->status_num : 200;
- if (!PG(safe_mode)) php_handle_auth_data(pblock_findval("authorization", rq->headers) TSRMLS_CC);
-
nsapi_php_ini_entries(NSLS_C TSRMLS_CC);
+ if (!PG(safe_mode)) php_handle_auth_data(pblock_findval("authorization", rq->headers) TSRMLS_CC);
+
file_handle.type = ZEND_HANDLE_FILENAME;
file_handle.filename = SG(request_info).path_translated;
file_handle.free_filename = 0;