summaryrefslogtreecommitdiff
path: root/src/sp_ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_ini.c')
-rw-r--r--src/sp_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_ini.c b/src/sp_ini.c
index cfbc615..2529760 100644
--- a/src/sp_ini.c
+++ b/src/sp_ini.c
@@ -1,7 +1,7 @@
1#include "php_snuffleupagus.h" 1#include "php_snuffleupagus.h"
2 2
3#define SP_INI_HAS_CHECKS_COND(entry) (entry->min || entry->max || entry->regexp) 3#define SP_INI_HAS_CHECKS_COND(entry) (entry->min || entry->max || entry->regexp)
4#define SP_INI_ACCESS_READONLY_COND(entry, cfg) (entry->access == SP_READONLY || (!entry->access && cfg->policy_readonly)) 4#define SP_INI_ACCESS_READONLY_COND(entry, cfg) (entry->access == SP_INI_READONLY || (!entry->access && cfg->policy_readonly))
5 5
6#define sp_log_auto2(feature, is_simulation, drop, ...) \ 6#define sp_log_auto2(feature, is_simulation, drop, ...) \
7 sp_log_msgf(feature, ((is_simulation || !drop) ? SP_LOG_WARN : SP_LOG_ERROR), \ 7 sp_log_msgf(feature, ((is_simulation || !drop) ? SP_LOG_WARN : SP_LOG_ERROR), \