2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2010 */
6 /* Inclusive Design Institute */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
13 define('TR_INCLUDE_PATH', 'include/');
14 require(TR_INCLUDE_PATH.'common.inc.php');
16 if (!$new_version = $_POST['new_version']) {
17 $new_version = $_POST['step2']['new_version'];
20 $step = intval($_POST['step']);
26 if ($_POST['submit'] == 'I Disagree'){
27 Header ("Location: index.php");
30 require(TR_INCLUDE_PATH.'header.inc.php');
32 /* agree to terms of use */
34 require(TR_INCLUDE_PATH.'step1.php');
39 require(TR_INCLUDE_PATH.'step2.php');
42 /* create admin accounts and sytem preference */
44 require(TR_INCLUDE_PATH.'step3.php');
47 /* accounts & preferences */
49 require(TR_INCLUDE_PATH.'step4.php');
52 /* directory permissions and generating the config.inc.php file */
54 require(TR_INCLUDE_PATH.'step5.php');
57 /* anonymous data collection */
59 require(TR_INCLUDE_PATH.'step6.php');
64 require(TR_INCLUDE_PATH.'step7.php');
67 require(TR_INCLUDE_PATH.'footer.inc.php');