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

index 278980a573902b1056e598dae2467d95063f9701..868bf9b0d9c1895f849f15fafb42e79372f3a7a9 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;