blob: 7a3f234b6ee5ad697f2240be0aea6167d0d92acb (
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$
* @package install
* @subpackage functions
*/
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See below for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details.
// assign next step in installation process
$gBitSmarty->assign( 'next_step',$step );
if( isset( $_REQUEST['continue_install'] ) ) {
header( 'Location: '.INSTALL_PKG_URL.'install.php?step='.( $step + 1 ) );
} elseif( isset( $_REQUEST['reset_config_inc'] ) ) {
$fw = fopen($config_file, 'w' );
if( isset( $fw ) ) {
fwrite( $fw, '');
fclose( $fw );
}
header( 'Location: '.INSTALL_PKG_URL.'install.php' );
}
|