Skip to content
Newer
Older
100644 78 lines (58 sloc) 1.39 KB
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
1 #ifndef _PHP_GLOBALS_H
2 #define _PHP_GLOBALS_H
3
c5af324 @zsuraski More thread safety work
zsuraski authored Apr 21, 1999
4 #include "zend_globals.h"
5
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
6 typedef struct _php_core_globals php_core_globals;
7
8 #ifdef ZTS
9 # define PLS_D php_core_globals *core_globals
10 # define PLS_DC , PLS_D
11 # define PLS_C core_globals
12 # define PLS_CC , PLS_C
13 # define PG(v) (core_globals->v)
14 # define PLS_FETCH() php_core_globals *core_globals = ts_resource(core_globals_id)
3cad348 @zsuraski * Add a new workspace for dynamic PHP extensions.
zsuraski authored Jun 4, 1999
15 extern PHPAPI int core_globals_id;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
16 #else
17 # define PLS_D
18 # define PLS_DC
19 # define PLS_C
20 # define PLS_CC
21 # define PG(v) (core_globals.v)
22 # define PLS_FETCH()
23 extern ZEND_API php_core_globals core_globals;
24 #endif
25
26
27 struct _php_core_globals {
28 long magic_quotes_gpc;
29 long magic_quotes_runtime;
30 long magic_quotes_sybase;
7685b44 @zsuraski Move asp_tags and short_open_tag to the new php_ini mechanism
zsuraski authored Apr 10, 1999
31
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
32 long asp_tags;
33 long short_tags;
79f9f0c @zsuraski Move safe_mode to the new php_ini mechanism
zsuraski authored Apr 10, 1999
34
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
35 long safe_mode;
36 long sql_safe_mode;
37 char *safe_mode_exec_dir;
38 long enable_dl;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
39
40 long memory_limit;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored Apr 10, 1999
41
42 long track_errors;
43 long display_errors;
44 long log_errors;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
45 char *error_log;
46
47 char *doc_root;
48 char *user_dir;
49 char *include_path;
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
50 char *open_basedir;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
51 char *extension_dir;
52
53 char *upload_tmp_dir;
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
54 long upload_max_filesize;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored Apr 10, 1999
55
56 char *auto_prepend_file;
57 char *auto_append_file;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
58
59 char *arg_separator;
60 char *gpc_order;
61
62 long track_vars;
63
64 long y2k_compliance;
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored Apr 23, 1999
65
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
66 unsigned char header_is_being_sent;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
67 };
68
69
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored Apr 23, 1999
70 #endif /* _PHP_GLOBALS_H */
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
71
72 /*
73 * Local variables:
74 * tab-width: 4
75 * c-basic-offset: 4
76 * End:
77 */
Something went wrong with that request. Please try again.