diff options
| author | bitweaver.org <bitweaver@users.sourceforge.net> | 2005-06-19 04:51:19 +0000 |
|---|---|---|
| committer | bitweaver.org <bitweaver@users.sourceforge.net> | 2005-06-19 04:51:19 +0000 |
| commit | f2c6619fcf9489f34354efe9a9eab3dd73db773e (patch) | |
| tree | 8640b8d4ca95a864be32d785a4b31d64ef46032f /install_database_reset.php | |
| download | install-f2c6619fcf9489f34354efe9a9eab3dd73db773e.tar.gz install-f2c6619fcf9489f34354efe9a9eab3dd73db773e.tar.bz2 install-f2c6619fcf9489f34354efe9a9eab3dd73db773e.zip | |
IMPORT TikiPro CLYDE FINAL
Diffstat (limited to 'install_database_reset.php')
| -rw-r--r-- | install_database_reset.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/install_database_reset.php b/install_database_reset.php new file mode 100644 index 0000000..5187b3d --- /dev/null +++ b/install_database_reset.php @@ -0,0 +1,22 @@ +<?php + +// $Header: /cvsroot/bitweaver/_bit_install/install_database_reset.php,v 1.1 2005/06/19 04:51:19 bitweaver Exp $ + +// 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 +$smarty->assign( 'next_step',$step ); +//vd($_REQUEST); +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' ); +} +?> |
