From fe7242f37ca7df9330acf953d0b9a1dd1a41da7a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 17 Jun 2007 08:24:10 +0000 Subject: [PATCH] a tiny fix git-svn-id: file:///svn/phpbb/trunk@7771 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_update.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index a7f288bc0b..3a68e271ed 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -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;