]> granicus.if.org Git - php/commitdiff
changed order of processing of ini entries
authorUwe Schindler <thetaphi@php.net>
Mon, 20 Sep 2004 13:30:13 +0000 (13:30 +0000)
committerUwe Schindler <thetaphi@php.net>
Mon, 20 Sep 2004 13:30:13 +0000 (13:30 +0000)
sapi/nsapi/nsapi.c

index d68bd321b52224f9276c594fabebd74c1b73f789..2bb4108cc74280d67c75f1c94be63928feff63de 100644 (file)
@@ -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;