Minahito
minah****@users*****
2006年 9月 17日 (日) 11:54:20 JST
Index: xoops2jp/html/install/wizards/install_dbsave.inc.php diff -u xoops2jp/html/install/wizards/install_dbsave.inc.php:1.1.2.2 xoops2jp/html/install/wizards/install_dbsave.inc.php:1.1.2.3 --- xoops2jp/html/install/wizards/install_dbsave.inc.php:1.1.2.2 Thu Sep 14 19:23:15 2006 +++ xoops2jp/html/install/wizards/install_dbsave.inc.php Sun Sep 17 11:54:20 2006 @@ -13,6 +13,7 @@ $mm->setRewrite('XOOPS_URL', $myts->stripSlashesGPC($_POST['xoops_url'])); $mm->setRewrite('XOOPS_DB_TYPE', $myts->stripSlashesGPC($_POST['database'])); $mm->setRewrite('XOOPS_DB_PREFIX', $myts->stripSlashesGPC($_POST['prefix'])); + $mm->setRewrite('XOOPS_SALT', $myts->stripSlashesGPC($_POST['salt'])); $mm->setRewrite('XOOPS_DB_HOST', $myts->stripSlashesGPC($_POST['dbhost'])); $mm->setRewrite('XOOPS_DB_USER', $myts->stripSlashesGPC($_POST['dbuname'])); $mm->setRewrite('XOOPS_DB_PASS', $myts->stripSlashesGPC($_POST['dbpass'])); @@ -29,13 +30,6 @@ $xoopsPathTrans = str_replace( strpos( $xoopsPathTrans, '\\\\', 2 ) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $xoopsPathTrans); } - if (defined(XOOPS_ROOT_PATH)) { - $mm->setRewrite('XOOPS_CHECK_PATH', strcasecmp( substr($xoopsPathTrans, 0, strlen(XOOPS_ROOT_PATH)), $_POST['root_path']) ? 0 : 1 ); - } - else { - $mm->setRewrite('XOOPS_CHECK_PATH', 0); - } - $ret = $mm->doRewrite(); if(! $ret){ $wizard->setContent(_INSTALL_L60);