aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-07-08 20:36:39 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-07-09 01:53:07 -0400
commitfd728c2815d3e21f5f6022b973109a839fe0164f (patch)
tree284f9e1a428db06839a197f8da699e68d5b0798b /phpBB
parent5b5c2274232bee869548a17399645a70cf550577 (diff)
downloadforums-fd728c2815d3e21f5f6022b973109a839fe0164f.tar
forums-fd728c2815d3e21f5f6022b973109a839fe0164f.tar.gz
forums-fd728c2815d3e21f5f6022b973109a839fe0164f.tar.bz2
forums-fd728c2815d3e21f5f6022b973109a839fe0164f.tar.xz
forums-fd728c2815d3e21f5f6022b973109a839fe0164f.zip
[ticket/10003] Require db_tools.php in database_update.php.
Use require_updated to use the new version of db_tools if one is present. PHPBB3-10003
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/install/database_update.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 7b6deb5727..8154155650 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -99,6 +99,8 @@ require($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
+phpbb_require_updated('includes/db/db_tools.' . $phpEx);
+
// new table constants are separately defined here in case the updater is run
// before the files are updated
if (!defined('LOGIN_ATTEMPT_TABLE'))