From 8a84f42f7df73f579ad28272c116efc1de3b1651 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 19 Sep 2011 17:15:58 +0200 Subject: [PATCH] [ticket/10370] Add require_once to whitelisted functions. PHPBB3-10370 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index df5a05f53b..105f2d5fa0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3405,7 +3405,7 @@ function get_backtrace() // Only show function arguments for include etc. // Other parameters may contain sensible information $argument = ''; - if (!empty($trace['args'][0]) && in_array($trace['function'], array('include', 'require', 'include_once'))) + if (!empty($trace['args'][0]) && in_array($trace['function'], array('include', 'require', 'include_once', 'require_once'))) { $argument = htmlspecialchars($trace['args'][0]); $argument = phpbb_filter_root_path($argument);