| | |
| | | set_include_path($include_path); |
| | | |
| | | require_once 'utils.php'; |
| | | require_once 'main.inc'; |
| | | |
| | | session_start(); |
| | | |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | <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> |
| | |
| | | </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]; |