install
[ class tree: install ] [ index: install ] [ all elements ]

Source for file install_options.php

Documentation is available at install_options.php

  1. <?php
  2. /**
  3.  * @version $Header$
  4.  * @package install
  5.  * @subpackage functions
  6.  */
  7.  
  8. // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  9. // All Rights Reserved. See below for details and a complete list of authors.
  10. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details.
  11.  
  12. //$gBitSmarty->assign( 'next_step',$step );
  13. if( isset( $_REQUEST['upgrade'] ) ) {
  14.     $_SESSION['upgrade'] = TRUE;
  15.     $_SESSION['first_install'] = TRUE;
  16.     header( 'Location: '.INSTALL_PKG_URL.'upgrade.php' );
  17.     die;
  18. } elseif( !empty( $_REQUEST['upgrade_r1'] ) ) {
  19.     $_SESSION['upgrade'] = TRUE;
  20.     $_SESSION['upgrade_r1'] = TRUE;
  21.     $_SESSION['first_install'] = TRUE;
  22.     // Added check for IIS $_SERVER['HTTPS'] uses 'off' value - wolff_borg
  23.     header( 'Location: http'.((!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS'] != 'off')?'s':'').'://'.$_SERVER['HTTP_HOST'].INSTALL_PKG_URL.'upgrade.php' );
  24.     die;
  25. } elseif( isset( $_REQUEST['migrate'] ) ) {
  26.     $_SESSION['migrate'] = TRUE;
  27.     $_SESSION['first_install'] = TRUE;
  28.     header( 'Location: '.INSTALL_PKG_URL.'migrate.php' );
  29.     die;
  30. } elseif( isset( $_REQUEST['continue_install'] ) ) {
  31.     // Added check for IIS $_SERVER['HTTPS'] uses 'off' value - wolff_borg
  32.     header( 'Location: http'.((!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS'] != 'off')?'s':'').'://'.$_SERVER['HTTP_HOST'].INSTALL_PKG_URL.'install.php?step='.( $step + 1 ) );
  33.     die;
  34. } else {
  35.     $gBitSmarty->assign( 'next_step',$step );
  36. }
  37. ?>

Documentation generated on Wed, 29 Jul 2015 13:56:44 +0000 by phpDocumentor 1.5.0-lsces