alecpl
2010-07-26 3a4c9f424bff7fc937334ac230217ffe5b2e246c
installer/index.php
@@ -14,6 +14,7 @@
set_include_path($include_path);
require_once 'utils.php';
require_once 'main.inc';
session_start();
@@ -46,9 +47,9 @@
  exit;
}
// go to 'test' step if we have a local configuration
// go to 'check env' step if we have a local configuration
if ($RCI->configured && empty($_REQUEST['_step'])) {
  header("Location: ./?_step=3");
  header("Location: ./?_step=1");
  exit;
}
@@ -105,7 +106,7 @@
</ol>
<?php
$include_steps = array('welcome.html', 'check.php', 'config.php', 'test.php');
$include_steps = array('./welcome.html', './check.php', './config.php', './test.php');
if ($include_steps[$RCI->step]) {
  include $include_steps[$RCI->step];