Minahito
minah****@users*****
2006年 11月 11日 (土) 17:37:14 JST
Index: xoops2jp/html/install/class/dbmanager.php diff -u xoops2jp/html/install/class/dbmanager.php:1.2.8.4 xoops2jp/html/install/class/dbmanager.php:1.2.8.4.2.1 --- xoops2jp/html/install/class/dbmanager.php:1.2.8.4 Thu Sep 14 19:23:15 2006 +++ xoops2jp/html/install/class/dbmanager.php Sat Nov 11 17:37:14 2006 @@ -26,13 +26,13 @@ include_once XOOPS_ROOT_PATH.'/class/logger.php'; include_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php'; include_once XOOPS_ROOT_PATH.'/class/database/'.XOOPS_DB_TYPE.'database.php'; -include_once XOOPS_ROOT_PATH.'/class/database/oldsqlutility.php'; +include_once XOOPS_ROOT_PATH.'/class/database/sqlutility.php'; /** * database manager for XOOPS installer * * @author Haruki Setoyama <haruk****@plane*****> -* @version $Id: dbmanager.php,v 1.2.8.4 2006/09/14 10:23:15 minahito Exp $ +* @version $Id: dbmanager.php,v 1.2.8.4.2.1 2006/11/11 08:37:14 minahito Exp $ * @access public **/ class db_manager { @@ -82,13 +82,13 @@ return false; } $sql_query = trim(fread(fopen($sql_file_path, 'r'), filesize($sql_file_path))); - OldSqlUtility::splitMySqlFile($pieces, $sql_query); + SqlUtility::splitMySqlFile($pieces, $sql_query); $this->connectDB(); foreach ($pieces as $piece) { $piece = trim($piece); // [0] contains the prefixed query // [4] contains unprefixed table name - $prefixed_query = OldSqlUtility::prefixQuery($piece, $this->db->prefix()); + $prefixed_query = SqlUtility::prefixQuery($piece, $this->db->prefix()); if ($prefixed_query != false ) { $table = $this->db->prefix($prefixed_query[4]); if($prefixed_query[1] == 'CREATE TABLE'){