diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-08-27 00:13:15 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-08-27 15:36:26 +0200 |
commit | 3afd2c6948e777fde2f43f00bff1659f2691f4d8 (patch) | |
tree | c2e1cecc4b6f4ae306761c9c28fd031db3da9a0e /phpBB/download | |
parent | cd46b399678db9f7a10f6395b2920135800c41fd (diff) | |
download | forums-3afd2c6948e777fde2f43f00bff1659f2691f4d8.tar forums-3afd2c6948e777fde2f43f00bff1659f2691f4d8.tar.gz forums-3afd2c6948e777fde2f43f00bff1659f2691f4d8.tar.bz2 forums-3afd2c6948e777fde2f43f00bff1659f2691f4d8.tar.xz forums-3afd2c6948e777fde2f43f00bff1659f2691f4d8.zip |
[ticket/9793] Make sure send_status_line() is defined when in avatar mode.
When download/file.php is in avatar mode set_modified_headers() can be called,
which then calls send_status_line() which is not available because
includes/functions.php is not included in avatar mode.
We also load includes/functions.php in the bootstrap now to solve this problem.
Regression from c1a4cb1d01dc19650219566b60671abc767af662.
PHPBB3-9793
PHPBB3-7782
Diffstat (limited to 'phpBB/download')
-rw-r--r-- | phpBB/download/file.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 97f4ff3c8a..1f2cee4d95 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -48,6 +48,7 @@ if (isset($_GET['avatar'])) require($phpbb_root_path . 'includes/cache.' . $phpEx); require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); require($phpbb_root_path . 'includes/constants.' . $phpEx); + require($phpbb_root_path . 'includes/functions.' . $phpEx); $db = new $sql_db(); $cache = new cache(); |