diff options
Diffstat (limited to 'install_welcome.php')
| -rw-r--r-- | install_welcome.php | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/install_welcome.php b/install_welcome.php index 8314216..d3e45a8 100644 --- a/install_welcome.php +++ b/install_welcome.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/install_welcome.php,v 1.3 2005/08/01 18:40:30 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/install_welcome.php,v 1.4 2006/05/06 22:01:53 squareing Exp $ * @package install * @subpackage functions */ @@ -10,5 +10,15 @@ // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // assign next step in installation process -$gBitSmarty->assign( 'next_step',$step + 1 ); -?>
\ No newline at end of file +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 ); +?> |
