This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
LuisLeon_WebOSC/catalog/install/install.php

73 lines
1.9 KiB
PHP
Raw Normal View History

<?php
/*
$Id: install.php,v 1.3 2003/07/09 01:11:04 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
require('includes/application.php');
$page_file = 'install.php';
$page_title = 'Installation';
switch ($HTTP_GET_VARS['step']) {
case '2':
if (osc_in_array('database', $HTTP_POST_VARS['install'])) {
$page_contents = 'install_2.php';
} elseif (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
$page_contents = 'install_4.php';
} else {
$page_contents = 'install.php';
}
break;
case '3':
if (osc_in_array('database', $HTTP_POST_VARS['install'])) {
$page_contents = 'install_3.php';
} else {
$page_contents = 'install.php';
}
break;
case '4':
if (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
$page_contents = 'install_4.php';
} else {
$page_contents = 'install.php';
}
break;
case '5':
if (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
if (isset($HTTP_POST_VARS['ENABLE_SSL']) && ($HTTP_POST_VARS['ENABLE_SSL'] == 'true')) {
$page_contents = 'install_5.php';
} else {
$page_contents = 'install_6.php';
}
} else {
$page_contents = 'install.php';
}
break;
case '6':
if (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
$page_contents = 'install_6.php';
} else {
$page_contents = 'install.php';
}
break;
case '7':
if (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
$page_contents = 'install_7.php';
} else {
$page_contents = 'install.php';
}
break;
default:
$page_contents = 'install.php';
}
require('templates/main_page.php');
?>