X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=installer%2Findex.php;h=7ed52240ba9a631d3c6e061f09d3a085f232d752;hb=48e244a464574aa732ef5ab3fe759f1e05665b3d;hp=549b6f007ac0f5919a2365d4e96edc52609e0b5c;hpb=1213c6e65f2bab1e140369839a9d0f6db28a9492;p=roundcube.git diff --git a/installer/index.php b/installer/index.php index 549b6f0..7ed5224 100644 --- a/installer/index.php +++ b/installer/index.php @@ -1,5 +1,33 @@ | + +-------------------------------------------------------------------------+ + + $Id$ + +*/ + ini_set('error_reporting', E_ALL&~E_NOTICE); ini_set('display_errors', 1); @@ -13,8 +41,8 @@ $include_path .= ini_get('include_path'); set_include_path($include_path); -require_once 'rcube_shared.inc'; require_once 'utils.php'; +require_once 'main.inc'; session_start(); @@ -41,15 +69,15 @@ if ($RCI->configured && ($RCI->getprop('enable_installer') || $_SESSION['allowin header('Content-type: text/plain'); header('Content-Disposition: attachment; filename="'.$filename.'"'); - + $RCI->merge_config(); echo $RCI->create_config($_GET['_mergeconfig'], true); 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 +86,7 @@ if ($RCI->configured && empty($_REQUEST['_step'])) { "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -RoundCube Webmail Installer +Roundcube Webmail Installer @@ -68,14 +96,13 @@ if ($RCI->configured && empty($_REQUEST['_step'])) { + + + + +
+ How-to Wiki +
@@ -92,7 +119,7 @@ if ($RCI->configured && empty($_REQUEST['_step'])) { ?> -

RoundCube Webmail Installer

+

Roundcube Webmail Installer