summaryrefslogtreecommitdiff
path: root/src/sp_config.c
diff options
context:
space:
mode:
authorThibault "bui" Koechlin2019-08-31 15:32:36 +0200
committerjvoisin2019-08-31 13:32:36 +0000
commit504f02992ace82a5520bc0ca43d9562c077a06e4 (patch)
tree94934cf269abe7a8dbdf0a8bdb4ddb1d51cb4f30 /src/sp_config.c
parentf7e25b29c1cd5273675dbb3d6883c40377d8315d (diff)
Support direct syslog logging
Add the possibility to log directly into the syslog, instead of using php's log system.
Diffstat (limited to 'src/sp_config.c')
-rw-r--r--src/sp_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_config.c b/src/sp_config.c
index 25223f2..69730e3 100644
--- a/src/sp_config.c
+++ b/src/sp_config.c
@@ -9,6 +9,7 @@ size_t sp_line_no;
9sp_config_tokens const sp_func[] = { 9sp_config_tokens const sp_func[] = {
10 {.func = parse_unserialize, .token = SP_TOKEN_UNSERIALIZE_HMAC}, 10 {.func = parse_unserialize, .token = SP_TOKEN_UNSERIALIZE_HMAC},
11 {.func = parse_random, .token = SP_TOKEN_HARDEN_RANDOM}, 11 {.func = parse_random, .token = SP_TOKEN_HARDEN_RANDOM},
12 {.func = parse_log_media, .token = SP_TOKEN_LOG_MEDIA},
12 {.func = parse_disabled_functions, .token = SP_TOKEN_DISABLE_FUNC}, 13 {.func = parse_disabled_functions, .token = SP_TOKEN_DISABLE_FUNC},
13 {.func = parse_readonly_exec, .token = SP_TOKEN_READONLY_EXEC}, 14 {.func = parse_readonly_exec, .token = SP_TOKEN_READONLY_EXEC},
14 {.func = parse_global_strict, .token = SP_TOKEN_GLOBAL_STRICT}, 15 {.func = parse_global_strict, .token = SP_TOKEN_GLOBAL_STRICT},