diff options
Diffstat (limited to 'src/sp_config.h')
| -rw-r--r-- | src/sp_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h index f245943..af227ba 100644 --- a/src/sp_config.h +++ b/src/sp_config.h | |||
| @@ -70,6 +70,7 @@ typedef struct { | |||
| 70 | 70 | ||
| 71 | typedef struct { | 71 | typedef struct { |
| 72 | sp_list_node *whitelist; | 72 | sp_list_node *whitelist; |
| 73 | sp_list_node *php_stream_allowlist; | ||
| 73 | bool enabled; | 74 | bool enabled; |
| 74 | size_t num_wrapper; // Used to verify if wrappers were added. | 75 | size_t num_wrapper; // Used to verify if wrappers were added. |
| 75 | } sp_config_wrapper; | 76 | } sp_config_wrapper; |
| @@ -214,6 +215,7 @@ typedef struct { | |||
| 214 | #define SP_TOKEN_EVAL_WHITELIST "eval_whitelist" | 215 | #define SP_TOKEN_EVAL_WHITELIST "eval_whitelist" |
| 215 | #define SP_TOKEN_SLOPPY_COMPARISON "sloppy_comparison" | 216 | #define SP_TOKEN_SLOPPY_COMPARISON "sloppy_comparison" |
| 216 | #define SP_TOKEN_ALLOW_WRAPPERS "wrappers_whitelist" | 217 | #define SP_TOKEN_ALLOW_WRAPPERS "wrappers_whitelist" |
| 218 | #define SP_TOKEN_ALLOW_PHP_STREAMS "php_list" | ||
| 217 | #define SP_TOKEN_INI_PROTECTION "ini_protection" | 219 | #define SP_TOKEN_INI_PROTECTION "ini_protection" |
| 218 | #define SP_TOKEN_INI "ini" | 220 | #define SP_TOKEN_INI "ini" |
| 219 | 221 | ||
