2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2002-2010 */
7 /* This program is free software. You can redistribute it and/or */
8 /* modify it under the terms of the GNU General Public License */
9 /* as published by the Free Software Foundation. */
10 /************************************************************************/
13 // Be careful at modifying AT_INCLUDE_PATH constant which is used by
14 // get_atutor_installation_path() @ common.inc.php. Must make sure the
15 // function doesn't get broken at its modification.
16 define('AT_INCLUDE_PATH', 'include/');
17 require(AT_INCLUDE_PATH.'common.inc.php');
19 if (!$new_version = $_POST['new_version']) {
20 $new_version = $_POST['step2']['new_version'];
23 $step = intval($_POST['step']);
29 if ($_POST['submit'] == 'I Disagree'){
30 Header ("Location: index.php");
33 require(AT_INCLUDE_PATH.'header.php');
35 /* agree to terms of use */
37 require(AT_INCLUDE_PATH.'step1.php');
42 require(AT_INCLUDE_PATH.'step2.php');
47 require(AT_INCLUDE_PATH.'step3.php');
50 /* personal account + welcome course */
52 //require(AT_INCLUDE_PATH.'step4.php');
55 /* content directory */
57 require(AT_INCLUDE_PATH.'step5.php');
60 /* directory permissions and generating the config.inc.php file */
62 require(AT_INCLUDE_PATH.'step6.php');
65 /* anonymous data collection */
67 require(AT_INCLUDE_PATH.'step7.php');
72 require(AT_INCLUDE_PATH.'step8.php');
75 require(AT_INCLUDE_PATH.'footer.php');