[xoops-cvslog 2213] CVS update: xoops2jp/html/install

Back to archive index

Minahito minah****@users*****
2006年 2月 4日 (土) 03:29:42 JST


Index: xoops2jp/html/install/makedata.php
diff -u xoops2jp/html/install/makedata.php:1.2.8.6 xoops2jp/html/install/makedata.php:1.2.8.7
--- xoops2jp/html/install/makedata.php:1.2.8.6	Sat Feb  4 03:25:19 2006
+++ xoops2jp/html/install/makedata.php	Sat Feb  4 03:29:42 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: makedata.php,v 1.2.8.6 2006/02/03 18:25:19 minahito Exp $
+// $Id: makedata.php,v 1.2.8.7 2006/02/03 18:29:42 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -241,9 +241,9 @@
     //
     // TODO We should set hasconfig and more option values here.
     //
-    $hasconfig = isset($xoops_version['config']) ? 1 : 0;
+    $hasconfig = isset($modversion['config']) ? 1 : 0;
 	$hasmain = 0;
-	if (isset($xoops_version['hasMain']) && $xoops_version['hasMain'] == 1) {
+	if (isset($modversion['hasMain']) && $modversion['hasMain'] == 1) {
 		$hasmain = 1;
 	}
     $dbm->insert("modules", " VALUES (${mid}, '" . constant($module_name) . "', 100, ".$time.", 0, 1, '${module}', ${hasmain}, 1, 0, ${hasconfig}, 0, 0)");


xoops-cvslog メーリングリストの案内
Back to archive index