aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-01 22:46:14 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-01 22:46:14 +0000
commit4ed8b3a62c7883a40dff22f25ee78c20ce737c6e (patch)
tree3b30f163a9cfdbea2276606d7aff1dfae3bd1917 /phpBB/install/install_update.php
parentdff3e0f33036580a011dcf3c5b45d8ea058ed610 (diff)
downloadforums-4ed8b3a62c7883a40dff22f25ee78c20ce737c6e.tar
forums-4ed8b3a62c7883a40dff22f25ee78c20ce737c6e.tar.gz
forums-4ed8b3a62c7883a40dff22f25ee78c20ce737c6e.tar.bz2
forums-4ed8b3a62c7883a40dff22f25ee78c20ce737c6e.tar.xz
forums-4ed8b3a62c7883a40dff22f25ee78c20ce737c6e.zip
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
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r--phpBB/install/install_update.php6
1 files changed, 3 insertions, 3 deletions
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);
}
}
}