diff options
| author | Ben Fuhrmannek | 2021-09-15 20:26:02 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-09-15 20:26:02 +0200 |
| commit | 31d6a3cddd18cef447698ba2beaa7b5d9ab9dd94 (patch) | |
| tree | 015c69027703d17061d429375de84a86cc51186a /src/sp_config.h | |
| parent | 8e42064026906f0f25caca237e4624b5b3c5087e (diff) | |
implemented execution depth limit
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 fd6dc15..ccf2318 100644 --- a/src/sp_config.h +++ b/src/sp_config.h | |||
| @@ -196,6 +196,7 @@ typedef struct { | |||
| 196 | sp_config_ini *config_ini; | 196 | sp_config_ini *config_ini; |
| 197 | bool hook_execute; | 197 | bool hook_execute; |
| 198 | char log_media; | 198 | char log_media; |
| 199 | u_long max_execution_depth; | ||
| 199 | 200 | ||
| 200 | HashTable *config_disabled_functions; | 201 | HashTable *config_disabled_functions; |
| 201 | HashTable *config_disabled_functions_hooked; | 202 | HashTable *config_disabled_functions_hooked; |
| @@ -286,6 +287,7 @@ typedef struct { | |||
| 286 | #define SP_TOKEN_ENCRYPTION_KEY "secret_key" | 287 | #define SP_TOKEN_ENCRYPTION_KEY "secret_key" |
| 287 | #define SP_TOKEN_ENV_VAR "cookie_env_var" | 288 | #define SP_TOKEN_ENV_VAR "cookie_env_var" |
| 288 | #define SP_TOKEN_LOG_MEDIA "log_media" | 289 | #define SP_TOKEN_LOG_MEDIA "log_media" |
| 290 | #define SP_TOKEN_MAX_EXECUTION_DEPTH "max_execution_depth" | ||
| 289 | 291 | ||
| 290 | // upload_validator | 292 | // upload_validator |
| 291 | #define SP_TOKEN_UPLOAD_SCRIPT "script" | 293 | #define SP_TOKEN_UPLOAD_SCRIPT "script" |
