Minahito
minah****@users*****
2005年 12月 27日 (火) 00:49:32 JST
Index: xoops2jp/html/modules/system/admin/modulesadmin/modulesadmin.php diff -u xoops2jp/html/modules/system/admin/modulesadmin/modulesadmin.php:1.2.8.1 xoops2jp/html/modules/system/admin/modulesadmin/modulesadmin.php:1.2.8.2 --- xoops2jp/html/modules/system/admin/modulesadmin/modulesadmin.php:1.2.8.1 Wed Oct 19 02:21:55 2005 +++ xoops2jp/html/modules/system/admin/modulesadmin/modulesadmin.php Tue Dec 27 00:49:32 2005 @@ -1,5 +1,5 @@ <?php -// $Id: modulesadmin.php,v 1.2.8.1 2005/10/18 17:21:55 minahito Exp $ +// $Id: modulesadmin.php,v 1.2.8.2 2005/12/26 15:49:32 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -173,15 +173,15 @@ $error = true; } else { $msgs[] = "SQL file found at <b>$sql_file_path</b>.<br /> Creating tables..."; - include_once XOOPS_ROOT_PATH.'/class/database/sqlutility.php'; + include_once XOOPS_ROOT_PATH.'/class/database/oldsqlutility.php'; $sql_query = fread(fopen($sql_file_path, 'r'), filesize($sql_file_path)); $sql_query = trim($sql_query); - SqlUtility::splitMySqlFile($pieces, $sql_query); + OldSqlUtility::splitMySqlFile($pieces, $sql_query); $created_tables = array(); foreach ($pieces as $piece) { // [0] contains the prefixed query // [4] contains unprefixed table name - $prefixed_query = SqlUtility::prefixQuery($piece, $db->prefix()); + $prefixed_query = OldSqlUtility::prefixQuery($piece, $db->prefix()); if (!$prefixed_query) { $errs[] = "<b>$piece</b> is not a valid SQL!"; $error = true;