mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
make php_import_environment_variables overwritable so fastcgi can correctly
set $_ENV.
This commit is contained in:
parent
acb9bc95e3
commit
96b9c0a523
2 changed files with 5 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
|||
#define PARSE_STRING 3
|
||||
|
||||
void php_treat_data(int arg, char *str, zval* destArray TSRMLS_DC);
|
||||
PHPAPI void php_import_environment_variables(zval *array_ptr TSRMLS_DC);
|
||||
extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr TSRMLS_DC);
|
||||
PHPAPI void php_register_variable(char *var, char *val, pval *track_vars_array TSRMLS_DC);
|
||||
/* binary-safe version */
|
||||
PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, pval *track_vars_array TSRMLS_DC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue