Minahito
minah****@users*****
2006年 10月 30日 (月) 18:52:45 JST
Index: xoops2jp/html/modules/legacy/admin/class/Legacy_SQLScanner.class.php diff -u xoops2jp/html/modules/legacy/admin/class/Legacy_SQLScanner.class.php:1.1.2.3 xoops2jp/html/modules/legacy/admin/class/Legacy_SQLScanner.class.php:1.1.2.4 --- xoops2jp/html/modules/legacy/admin/class/Legacy_SQLScanner.class.php:1.1.2.3 Mon Oct 23 20:24:19 2006 +++ xoops2jp/html/modules/legacy/admin/class/Legacy_SQLScanner.class.php Mon Oct 30 18:52:45 2006 @@ -133,11 +133,11 @@ // Prepare array for str_replace() // $t_search = array('{prefix}', '{dirname}', '{Dirname}', '{_dirname_}'); - $t_replace = array($this->mPrefix, strtolower($this->mDirname), ucfirst(strtolower($this->mDirname)), $this->mDirname); + $t_replace = array($this->mDB_PREFIX, strtolower($this->mDirname), ucfirst(strtolower($this->mDirname)), $this->mDirname); foreach (array_keys($t_lines) as $idx) { foreach (array_keys($t_lines[$idx]) as $op_idx) { - $t_lines[$idx][$op_idx] = str_replace($t_search, $t_replace, $t_lines[$idx][$op_idx]); + $t_lines[$idx][$op_idx]->mValue = str_replace($t_search, $t_replace, $t_lines[$idx][$op_idx]->mValue); } }