Skip to content

Commit

Permalink
[ticket/11574] Fix table prefix in database updater
Browse files Browse the repository at this point in the history
PHPBB3-11574
  • Loading branch information
igorw committed Jul 14, 2013
1 parent d6de892 commit c96f893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion phpBB/install/database_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{
function phpbb_require_updated($path, $optional = false)
{
global $phpbb_root_path;
global $phpbb_root_path, $table_prefix;

$new_path = $phpbb_root_path . 'install/update/new/' . $path;
$old_path = $phpbb_root_path . $path;
Expand Down Expand Up @@ -108,6 +108,7 @@ function phpbb_end_update($cache, $config)
phpbb_require_updated('includes/functions_content.' . $phpEx);
phpbb_require_updated('includes/functions_container.' . $phpEx);

require($phpbb_root_path . 'config.' . $phpEx);
phpbb_require_updated('includes/constants.' . $phpEx);
phpbb_require_updated('includes/utf/utf_tools.' . $phpEx);

Expand Down
2 changes: 1 addition & 1 deletion phpBB/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

function phpbb_require_updated($path, $optional = false)
{
global $phpbb_root_path;
global $phpbb_root_path, $table_prefix;

$new_path = $phpbb_root_path . 'install/update/new/' . $path;
$old_path = $phpbb_root_path . $path;
Expand Down

0 comments on commit c96f893

Please sign in to comment.