summaryrefslogtreecommitdiff
path: root/roundcubemail/installer/rcube_install.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-27 08:11:17 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-27 08:11:17 +0000
commitca4d027a2f3451d1907ff9ca0645bef06641bb3e (patch)
treea0f04e8c587517497a3db68c7adebc71d3f47fa4 /roundcubemail/installer/rcube_install.php
parent2a29c0de621e53c9cd9af3c8f72d3fe618de15a8 (diff)
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
Diffstat (limited to 'roundcubemail/installer/rcube_install.php')
-rw-r--r--roundcubemail/installer/rcube_install.php3
1 files changed, 3 insertions, 0 deletions
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);
}
/**