From 967b342039261ab294fe85d806fe49ce16391ada Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 28 Mar 2008 15:42:35 -0400
Subject: [PATCH] Disable installer by default; add config option to enable it again

---
 installer/config.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/installer/config.php b/installer/config.php
index 5b365a5..9845bb3 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -20,6 +20,9 @@
   'htmleditor' => 1,
 );
 
+// allow the current user to get to the next step
+$_SESSION['allowinstaller'] = true;
+
 if (!empty($_POST['submit'])) {
   
   echo '<p class="notice">Copy the following configurations and save them in two files (names above the text box)';

--
Gitblit v1.9.1