diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-09-19 17:15:58 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-09-19 17:37:15 +0200 |
commit | 8a84f42f7df73f579ad28272c116efc1de3b1651 (patch) | |
tree | dfea8c9573c7abb45138db67227dd424e6d17124 /phpBB/includes/functions.php | |
parent | 7965387201c86a7d56ae8974ca1eaaba68d4e30d (diff) | |
download | forums-8a84f42f7df73f579ad28272c116efc1de3b1651.tar forums-8a84f42f7df73f579ad28272c116efc1de3b1651.tar.gz forums-8a84f42f7df73f579ad28272c116efc1de3b1651.tar.bz2 forums-8a84f42f7df73f579ad28272c116efc1de3b1651.tar.xz forums-8a84f42f7df73f579ad28272c116efc1de3b1651.zip |
[ticket/10370] Add require_once to whitelisted functions.
PHPBB3-10370
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |