diff options
author | thomascube <thomas@roundcube.net> | 2008-02-27 08:11:17 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-02-27 08:11:17 +0000 |
commit | b3f9dfb54e46e63d14e605ea88605b6bc1ffa17d (patch) | |
tree | aae4be12ab7b652d0102cea8c1d388d9c3458e36 /installer/index.php | |
parent | ead3d2a16721df59428889d531cb6bd52fe65381 (diff) |
Allow to skip the config step if config files already exist
Diffstat (limited to 'installer/index.php')
-rw-r--r-- | installer/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/installer/index.php b/installer/index.php index aab406e98..a5225eb54 100644 --- a/installer/index.php +++ b/installer/index.php @@ -34,7 +34,8 @@ require_once 'rcube_install.php'; $RCI = rcube_install::get_instance(); - + $RCI->load_config(); + ?> <ol id="progress"> @@ -42,7 +43,7 @@ foreach (array('Check environment', 'Create config', 'Test config') as $i => $item) { $j = $i + 1; - $link = $RCI->step > $j ? '<a href="./index.php?_step='.$j.'">' . Q($item) . '</a>' : Q($item); + $link = ($RCI->step >= $j || $RCI->configured) ? '<a href="./index.php?_step='.$j.'">' . Q($item) . '</a>' : Q($item); printf('<li class="step%d%s">%s</li>', $j+1, $RCI->step > $j ? ' passed' : ($RCI->step == $j ? ' current' : ''), $link); } ?> |