Minahito
minah****@users*****
2005年 12月 27日 (火) 00:48:44 JST
Index: xoops2jp/html/install/class/dbmanager.php diff -u xoops2jp/html/install/class/dbmanager.php:1.2 xoops2jp/html/install/class/dbmanager.php:1.2.8.1 --- xoops2jp/html/install/class/dbmanager.php:1.2 Fri Mar 18 21:52:14 2005 +++ xoops2jp/html/install/class/dbmanager.php Tue Dec 27 00:48:44 2005 @@ -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/sqlutility.php'; +include_once XOOPS_ROOT_PATH.'/class/database/oldsqlutility.php'; /** * database manager for XOOPS installer * * @author Haruki Setoyama <haruk****@plane*****> -* @version $Id: dbmanager.php,v 1.2 2005/03/18 12:52:14 onokazu Exp $ +* @version $Id: dbmanager.php,v 1.2.8.1 2005/12/26 15:48:44 minahito Exp $ * @access public **/ class db_manager { @@ -71,13 +71,13 @@ return false; } $sql_query = trim(fread(fopen($sql_file_path, 'r'), filesize($sql_file_path))); - SqlUtility::splitMySqlFile($pieces, $sql_query); + OldSqlUtility::splitMySqlFile($pieces, $sql_query); $this->db->connect(); foreach ($pieces as $piece) { $piece = trim($piece); // [0] contains the prefixed query // [4] contains unprefixed table name - $prefixed_query = SqlUtility::prefixQuery($piece, $this->db->prefix()); + $prefixed_query = OldSqlUtility::prefixQuery($piece, $this->db->prefix()); if ($prefixed_query != false ) { $table = $this->db->prefix($prefixed_query[4]); if($prefixed_query[1] == 'CREATE TABLE'){