mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- re-add script_path for "strange configurations" to let them force the generated urls correctly
- show rank title if no rank image present in memberlist - other fixes. git-svn-id: file:///svn/phpbb/trunk@6730 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -412,6 +412,7 @@ class install_update extends module
|
||||
|
||||
// To ease the update process create a file location map
|
||||
$update_list = $cache->get('_update_list');
|
||||
$script_path = ($config['force_server_vars']) ? (($config['script_path'] == '/') ? '/' : $config['script_path'] . '/') : $user->page['root_script_path'];
|
||||
|
||||
foreach ($update_list as $status => $files)
|
||||
{
|
||||
@@ -429,7 +430,7 @@ class install_update extends module
|
||||
|
||||
$template->assign_block_vars('location', array(
|
||||
'SOURCE' => htmlspecialchars($file_struct['filename']),
|
||||
'DESTINATION' => $user->page['root_script_path'] . htmlspecialchars($file_struct['filename']),
|
||||
'DESTINATION' => $script_path . htmlspecialchars($file_struct['filename']),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user