summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-27 08:11:17 +0000
committerthomascube <thomas@roundcube.net>2008-02-27 08:11:17 +0000
commitb3f9dfb54e46e63d14e605ea88605b6bc1ffa17d (patch)
treeaae4be12ab7b652d0102cea8c1d388d9c3458e36 /installer/rcube_install.php
parentead3d2a16721df59428889d531cb6bd52fe65381 (diff)
Allow to skip the config step if config files already exist
Diffstat (limited to 'installer/rcube_install.php')
-rw-r--r--installer/rcube_install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 8ff220357..44d453153 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -26,6 +26,7 @@ class rcube_install
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 @@ class rcube_install
*/
function load_config()
{
+ $this->config = array();
$this->_load_config('.php');
+ $this->configured = !empty($this->config);
}
/**