From 2563619a58b98c1d088883ff9b6a9bb269ea87bb Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 26 May 2010 04:57:00 -0400
Subject: [PATCH] - small improvements
---
installer/utils.php | 1 -
installer/test.php | 12 ++++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/installer/test.php b/installer/test.php
index f1218c3..e75ef27 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -119,7 +119,7 @@
?>
-<h3>Check configured database settings</h3>
+<h3>Check DB config</h3>
<?php
$db_working = false;
@@ -211,7 +211,7 @@
?>
-<h3>Test SMTP settings</h3>
+<h3>Test SMTP config</h3>
<p>
Server: <?php echo $RCI->getprop('smtp_server', 'PHP mail()'); ?><br />
@@ -244,10 +244,10 @@
<?php
-if (isset($_POST['sendmail']) && !empty($_POST['_from']) && !empty($_POST['_to'])) {
-
+if (isset($_POST['sendmail'])) {
+
echo '<p>Trying to send email...<br />';
-
+
if (preg_match('/^' . $RCI->email_pattern . '$/i', trim($_POST['_from'])) &&
preg_match('/^' . $RCI->email_pattern . '$/i', trim($_POST['_to']))) {
@@ -326,7 +326,7 @@
<p><input type="submit" name="sendmail" value="Send test mail" /></p>
-<h3>Test IMAP configuration</h3>
+<h3>Test IMAP config</h3>
<?php
diff --git a/installer/utils.php b/installer/utils.php
index 1c10105..a18dc61 100644
--- a/installer/utils.php
+++ b/installer/utils.php
@@ -50,4 +50,3 @@
$rci = rcube_install::get_instance();
$rci->raise_error($p);
}
-
--
Gitblit v1.9.1