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 /************************************************************************/
11 // $Id: install.php 10055 2010-06-29 20:30:24Z cindy $
13 define('AT_INCLUDE_PATH', 'include/');
14 require(AT_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(AT_INCLUDE_PATH.'header.php');
32 /* agree to terms of use */
34 require(AT_INCLUDE_PATH.'step1.php');
39 require(AT_INCLUDE_PATH.'step2.php');
44 require(AT_INCLUDE_PATH.'step3.php');
47 /* personal account + welcome course */
49 //require(AT_INCLUDE_PATH.'step4.php');
52 /* content directory */
54 require(AT_INCLUDE_PATH.'step5.php');
57 /* directory permissions and generating the config.inc.php file */
59 require(AT_INCLUDE_PATH.'step6.php');
62 /* anonymous data collection */
64 require(AT_INCLUDE_PATH.'step7.php');
69 require(AT_INCLUDE_PATH.'step8.php');
72 require(AT_INCLUDE_PATH.'footer.php');