alecpl
2010-06-04 648db37e68bc1a3944d32b0fd62f65ea0d07cc7e
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;
}
@@ -58,7 +59,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>RoundCube Webmail Installer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Robots" content="noindex,nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="client.js"></script>
</head>
@@ -104,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];