mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[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
This commit is contained in:
parent
5b5c227423
commit
fd728c2815
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/utf/utf_tools.' . $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
|
// new table constants are separately defined here in case the updater is run
|
||||||
// before the files are updated
|
// before the files are updated
|
||||||
if (!defined('LOGIN_ATTEMPT_TABLE'))
|
if (!defined('LOGIN_ATTEMPT_TABLE'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue