From 96b9c0a52321ea8974f051a83cf58bb7ec6144d9 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Sun, 13 Oct 2002 08:38:09 +0000 Subject: make php_import_environment_variables overwritable so fastcgi can correctly set $_ENV. --- main/php_variables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_variables.h') diff --git a/main/php_variables.h b/main/php_variables.h index 8321c57d1c..38d3d3ec44 100644 --- a/main/php_variables.h +++ b/main/php_variables.h @@ -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); -- cgit v1.2.1