Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 71 lines (52 sloc) 1.324 kb
011813cc »
1999-04-09 *** empty log message ***
1 #ifndef _PHP_GLOBALS_H
2 #define _PHP_GLOBALS_H
3
c5af324e »
1999-04-21 More thread safety work
4 #include "zend_globals.h"
5
011813cc »
1999-04-09 *** empty log message ***
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)
3cad3485 »
1999-06-04 * Add a new workspace for dynamic PHP extensions.
15 extern PHPAPI int core_globals_id;
011813cc »
1999-04-09 *** empty log message ***
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;
7685b44c »
1999-04-10 Move asp_tags and short_open_tag to the new php_ini mechanism
31
32 long asp_tags;
33 long short_tags;
79f9f0ce »
1999-04-10 Move safe_mode to the new php_ini mechanism
34
35 long safe_mode;
36 long sql_safe_mode;
37 char *safe_mode_exec_dir;
bb6dff9c »
1999-04-10 Buh-bye php3_ini
38 long enable_dl;
39
40 long memory_limit;
e3d2234b »
1999-04-10 A lot of php3_ini -> php_ini work
41
42 long track_errors;
43 long display_errors;
44 long log_errors;
bb6dff9c »
1999-04-10 Buh-bye php3_ini
45 char *error_log;
46
47 char *doc_root;
48 char *user_dir;
49 char *include_path;
50 char *open_basedir;
51 char *extension_dir;
52
53 char *upload_tmp_dir;
54 long upload_max_filesize;
e3d2234b »
1999-04-10 A lot of php3_ini -> php_ini work
55
56 char *auto_prepend_file;
57 char *auto_append_file;
bb6dff9c »
1999-04-10 Buh-bye php3_ini
58
59 char *arg_separator;
60 char *gpc_order;
61
62 long track_vars;
63
64 long y2k_compliance;
09946676 »
1999-04-23 Thread-safe header_is_being_sent
65
66 unsigned char header_is_being_sent;
011813cc »
1999-04-09 *** empty log message ***
67 };
68
69
09946676 »
1999-04-23 Thread-safe header_is_being_sent
70 #endif /* _PHP_GLOBALS_H */
Something went wrong with that request. Please try again.