summaryrefslogtreecommitdiff
path: root/install_welcome.php
blob: d3e45a8ff56b847b27ebe7b41197ecfee702322e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * @version $Header: /cvsroot/bitweaver/_bit_install/install_welcome.php,v 1.4 2006/05/06 22:01:53 squareing Exp $
 * @package install
 * @subpackage functions
 */

// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.

// assign next step in installation process
if( !empty( $_REQUEST['install'] ) ) {
	header( 'Location: http://'.$_SERVER['HTTP_HOST'].INSTALL_PKG_URL.'install.php?step='.( $step + 1 ) );
	die;
} elseif( !empty( $_REQUEST['upgrade'] ) ) {
	$_SESSION['upgrade'] = TRUE;
	$_SESSION['upgrade_r1'] = TRUE;
	$_SESSION['first_install'] = TRUE;
	header( 'Location: http://'.$_SERVER['HTTP_HOST'].INSTALL_PKG_URL.'upgrade.php' );
	die;
}
$gBitSmarty->assign( 'next_step',$step );
?>