From b3f9dfb54e46e63d14e605ea88605b6bc1ffa17d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 27 Feb 2008 03:11:17 -0500
Subject: [PATCH] Allow to skip the config step if config files already exist
---
installer/rcube_install.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 8ff2203..44d4531 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -26,6 +26,7 @@
var $step;
var $failures = 0;
var $config = array();
+ var $configured = false;
var $last_error = null;
var $email_pattern = '([a-z0-9][a-z0-9\-\.\+\_]*@[a-z0-9]([a-z0-9\-][.]?)*[a-z0-9])';
@@ -64,7 +65,9 @@
*/
function load_config()
{
+ $this->config = array();
$this->_load_config('.php');
+ $this->configured = !empty($this->config);
}
/**
--
Gitblit v1.9.1