From 346455c6b5716c8ce095235428614e15c0adf13e Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Wed, 24 Feb 2016 00:36:35 +0100 Subject: cookie encryption --- execute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'execute.c') diff --git a/execute.c b/execute.c index 8abaff2..0e569e0 100644 --- a/execute.c +++ b/execute.c @@ -1198,8 +1198,8 @@ internal_function_handler ihandlers[] = { { NULL, NULL, NULL, NULL, NULL } }; -#define FUNCTION_WARNING() zend_error(E_WARNING, "%s() has been disabled for security reasons", get_active_function_name()); -#define FUNCTION_SIMULATE_WARNING() zend_error(E_WARNING, "SIMULATION - %s() has been disabled for security reasons", get_active_function_name()); +#define FUNCTION_WARNING() zend_error(E_WARNING, "%s() has been disabled for security reasons", suhosin_get_active_function_name()); +#define FUNCTION_SIMULATE_WARNING() zend_error(E_WARNING, "SIMULATION - %s() has been disabled for security reasons", suhosin_get_active_function_name()); /* {{{ void suhosin_execute_internal * This function provides a hook for internal execution */ -- cgit v1.3