diff options
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index 81f43f7..8e1c2dc 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c | |||
| @@ -472,6 +472,11 @@ int parse_disabled_functions(char *line) { | |||
| 472 | return ret; | 472 | return ret; |
| 473 | } | 473 | } |
| 474 | 474 | ||
| 475 | if (df->function && zend_string_equals_literal(df->function, "print")) { | ||
| 476 | zend_string_release(df->function); | ||
| 477 | df->function = zend_string_init("echo", strlen("echo"), 1); | ||
| 478 | } | ||
| 479 | |||
| 475 | if (df->function && !df->functions_list) { | 480 | if (df->function && !df->functions_list) { |
| 476 | if (df->ret || df->r_ret || df->ret_type) { | 481 | if (df->ret || df->r_ret || df->ret_type) { |
| 477 | add_df_to_hashtable(SNUFFLEUPAGUS_G(config).config_disabled_functions_ret, | 482 | add_df_to_hashtable(SNUFFLEUPAGUS_G(config).config_disabled_functions_ret, |
