From: <on...@us...> - 2002-09-18 13:07:50
|
Update of /cvsroot/xoops/xoops-current/html In directory usw-pr-cvs1:/tmp/cvs-serv31156 Modified Files: install.php Log Message: no message Index: install.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** install.php 18 Sep 2002 12:35:02 -0000 1.7 --- install.php 18 Sep 2002 13:07:47 -0000 1.8 *************** *** 964,967 **** --- 964,995 ---- # + # Table structure for table 'block_module_link' + # + + $result = $xoopsDB->queryF("CREATE TABLE ".$xoopsDB->prefix("block_module_link")." ( + block_id int(5) unsigned NOT NULL default '0', + module_id int(5) NOT NULL default '0', + KEY module_id (module_id), + KEY block_id (block_id) + )"); + if(!$result){ + for($i=0;$i<sizeof($madetables);$i++){ + $xoopsDB->queryF("DROP table ".$madetables[$i].""); + } + die ("<b>".sprintf(_INSTALL_L44, $xoopsDB->prefix("block_module_link"))."</b>"); + }else{ + array_push($madetables, $xoopsDB->prefix("block_module_link")); + } + # + # Dumping data for table 'block_module_link' + # + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("block_module_link")." VALUES (1,0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("block_module_link")." VALUES (2,0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("block_module_link")." VALUES (5,0)"); + + + # -------------------------------------------------------- + + # # Table structure for table 'stories' # |