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

Source for file install_database_reset.php

Documentation is available at install_database_reset.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. // assign next step in installation process
  13. $gBitSmarty->assign( 'next_step',$step );
  14. //vd($_REQUEST);
  15. if( isset( $_REQUEST['continue_install'] ) ) {
  16.     header( 'Location: '.INSTALL_PKG_URL.'install.php?step='.( $step + 1 ) );
  17. } elseif( isset( $_REQUEST['reset_config_inc'] ) ) {
  18.     $fw = fopen($config_file, 'w' );
  19.     if( isset( $fw ) ) {
  20.         fwrite( $fw, '');
  21.         fclose( $fw );
  22.     }
  23.     header( 'Location: '.INSTALL_PKG_URL.'install.php' );
  24. }
  25. ?>

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