[TEP-COMMIT] [CVS catalog] skip the second time the database parameters are asked for (to use another user account)

anonymous-OfajU3CKLf1/[email protected] 22 Jul 2004 20:40:21 -0000
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Commit in catalog/catalog/install on MAIN

install.php +10 -2 1.4 -> 1.5

skip the second time the database parameters are asked for (to use another user account)

the more advanced stuff this was meant to take care of can be done manually by editing the configuration file

----------

catalog /catalog /install

install.php 1.4 -> 1.5

diff -u -r1.4 -r1.5
--- install.php 2004/02/16 06:59:32 1.4
+++ install.php 2004/07/22 20:40:20 1.5
@@ -38,13 +38,21 @@

if (isset($_POST['ENABLE_SSL']) && ($_POST['ENABLE_SSL'] == 'true')) {
$page_contents = 'install_5.php';
} else {

- $page_contents = 'install_6.php';

+ if (in_array('database', $_POST['install'])) {
+ $page_contents = 'install_7.php';
+ } else {
+ $page_contents = 'install_6.php';
+ }

}
}
break;
case '6':
if (in_array('configure', $_POST['install'])) {

- $page_contents = 'install_6.php';

+ if (in_array('database', $_POST['install'])) {
+ $page_contents = 'install_7.php';
+ } else {
+ $page_contents = 'install_6.php';
+ }

}
break;
case '7':

CVSspam 0.2.8

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click