From ca4d027a2f3451d1907ff9ca0645bef06641bb3e Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 27 Feb 2008 08:11:17 +0000 Subject: Allow to skip the config step if config files already exist git-svn-id: https://svn.roundcube.net/trunk@1144 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/installer/rcube_install.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roundcubemail/installer/rcube_install.php') diff --git a/roundcubemail/installer/rcube_install.php b/roundcubemail/installer/rcube_install.php index 8ff220357..44d453153 100644 --- a/roundcubemail/installer/rcube_install.php +++ b/roundcubemail/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); } /** -- cgit v1.2.3