From 4ed8b3a62c7883a40dff22f25ee78c20ce737c6e Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 1 Apr 2007 22:46:14 +0000 Subject: ahhh, there are you. I can see a new haircut... looks good. git-svn-id: file:///svn/phpbb/trunk@7263 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/install/install_update.php') diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index 75f4fc4a56..5837a09834 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -1176,7 +1176,7 @@ class install_update extends module /* Get custom installed styles... $sql = 'SELECT template_name, template_path FROM ' . STYLES_TEMPLATE_TABLE . " - WHERE LOWER(template_name) NOT IN ('subsilver', 'prosilver')"; + WHERE LOWER(template_name) NOT IN ('subsilver2', 'prosilver')"; $result = $db->sql_query($sql); $templates = array(); @@ -1191,11 +1191,11 @@ class install_update extends module foreach ($info['files'] as $filename) { // Template update? - if (strpos(strtolower($filename), 'styles/subsilver/template/') === 0) + if (strpos(strtolower($filename), 'styles/subsilver2/template/') === 0) { foreach ($templates as $row) { - $info['custom'][$filename][] = str_replace('/subSilver/', '/' . $row['template_path'] . '/', $filename); + $info['custom'][$filename][] = str_replace('/subsilver2/', '/' . $row['template_path'] . '/', $filename); } } } -- cgit v1.2.1