summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2002-09-07 15:45:29 +0000
committerSterling Hughes <sterling@php.net>2002-09-07 15:45:29 +0000
commit91df221ab7d1b42b3060e99b37036e1b59a5f975 (patch)
treecacbf17d5d6c72219020861e5a300cc109740425 /ext/standard/basic_functions.h
parentc0ed6edf41f537e8105bbfab5744998a595a9c36 (diff)
downloadphp-git-91df221ab7d1b42b3060e99b37036e1b59a5f975.tar.gz
@ Made the User-Agent that php's fopen wrappers send, configurable via
@ php.ini or via a stream context. (Sterling) The stream context is untested, but it should/could work :) Either way it doesn't make the rest of the code bad. Wez -- please take a looksie for me :)
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index 7b3d83d764..3135cf0e7a 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -141,7 +141,10 @@ typedef struct {
HashTable sm_protected_env_vars;
char *sm_allowed_env_vars;
-
+
+ /* file.c */
+ char *user_agent;
+
/* pageinfo.c */
long page_uid;
long page_gid;