mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
a tiny fix
git-svn-id: file:///svn/phpbb/trunk@7771 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
288abe60d2
commit
fe7242f37c
1 changed files with 6 additions and 6 deletions
|
@ -270,7 +270,7 @@ class install_update extends module
|
|||
$template->assign_vars(array(
|
||||
'S_DB_UPDATE' => true,
|
||||
'S_DB_UPDATE_FINISHED' => ($config['version'] == $this->latest_version) ? true : false,
|
||||
'U_DB_UPDATE' => append_sid($phpbb_root_path . 'install/database_update.' . $phpEx, 'type=1&language=' . $language),
|
||||
'U_DB_UPDATE' => append_sid($phpbb_root_path . 'install/database_update.' . $phpEx, 'type=1&language=' . $user->data['user_lang']),
|
||||
'U_DB_UPDATE_ACTION' => append_sid($this->p_master->module_url, "mode=$mode&sub=update_db"),
|
||||
'U_ACTION' => append_sid($this->p_master->module_url, "mode=$mode&sub=file_check"),
|
||||
));
|
||||
|
@ -1175,8 +1175,8 @@ class install_update extends module
|
|||
{
|
||||
// Adjust the update info file to hold some specific style-related information
|
||||
$info['custom'] = array();
|
||||
|
||||
/* Get custom installed styles...
|
||||
/*
|
||||
// Get custom installed styles...
|
||||
$sql = 'SELECT template_name, template_path
|
||||
FROM ' . STYLES_TEMPLATE_TABLE . "
|
||||
WHERE LOWER(template_name) NOT IN ('subsilver2', 'prosilver')";
|
||||
|
@ -1194,16 +1194,16 @@ class install_update extends module
|
|||
foreach ($info['files'] as $filename)
|
||||
{
|
||||
// Template update?
|
||||
if (strpos(strtolower($filename), 'styles/subsilver2/template/') === 0)
|
||||
if (strpos(strtolower($filename), 'styles/prosilver/template/') === 0)
|
||||
{
|
||||
foreach ($templates as $row)
|
||||
{
|
||||
$info['custom'][$filename][] = str_replace('/subsilver2/', '/' . $row['template_path'] . '/', $filename);
|
||||
$info['custom'][$filename][] = str_replace('/prosilver/', '/' . $row['template_path'] . '/', $filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
*/
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue