From c0dc9072c142c4e8b70bc5545f24f6946d89a960 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 05 Apr 2008 08:53:47 -0400
Subject: [PATCH] Add hint for saving config files + stop DB initialization if en error occurs

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

diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 07a9922..12cd5c1 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -305,6 +305,8 @@
         if (eregi(';$', trim($line))) {
           $DB->query($buff);
           $buff = '';
+          if ($this->get_error())
+            break;
         }
       }
     }

--
Gitblit v1.9.1