mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Added argc and argv in request_info needed for the new cli sapi.
Modified registering $argc and $argv to support cli sapi.
This commit is contained in:
parent
6e1878b0fc
commit
1788410a56
2 changed files with 26 additions and 2 deletions
|
@ -97,6 +97,10 @@ typedef struct {
|
|||
/* this is necessary for Safe Mode */
|
||||
char *current_user;
|
||||
int current_user_length;
|
||||
|
||||
/* this is necessary for CLI module */
|
||||
int argc;
|
||||
char **argv;
|
||||
} sapi_request_info;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue