mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFB: init server context before config variables are processed
This commit is contained in:
parent
1275a176e9
commit
c73e385315
1 changed files with 2 additions and 2 deletions
|
@ -606,6 +606,8 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
|
|||
return OK;
|
||||
}
|
||||
|
||||
SG(server_context) = r;
|
||||
|
||||
zend_first_try {
|
||||
|
||||
/* Make sure file exists */
|
||||
|
@ -663,8 +665,6 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
|
|||
/* Init timeout */
|
||||
hard_timeout("send", r);
|
||||
|
||||
SG(server_context) = r;
|
||||
|
||||
php_save_umask();
|
||||
add_common_vars(r);
|
||||
add_cgi_vars(r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue