From 3549785897093452a5c523e517ac42842bea694d Mon Sep 17 00:00:00 2001
From: thomascube
Date: Tue, 19 Feb 2008 22:28:28 +0000
Subject: First steps to implement an installer
---
installer/config.php | 188 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 188 insertions(+)
create mode 100644 installer/config.php
(limited to 'installer/config.php')
diff --git a/installer/config.php b/installer/config.php
new file mode 100644
index 000000000..effbf2b91
--- /dev/null
+++ b/installer/config.php
@@ -0,0 +1,188 @@
+
';
+
+
+if (!empty($_POST['submit'])) {
+ echo " \n";
+
+ echo 'Copy the following configurations and save them in two files (names above the text box)';
+ echo ' within the config/ directory of your RoundCube installation.
';
+
+ $textbox = new textarea(array('rows' => 20, 'cols' => 60, 'class' => "configfile"));
+
+ echo 'main.inc.php
';
+ echo $textbox->show($RCI->create_config('main'));
+
+ echo 'db.inc.php
';
+ echo $textbox->show($RCI->create_config('db'));
+
+ echo '
';
+}
+
+?>
+
--
cgit v1.2.3