From 68955361dd404a1eb0fdca648f14ed1aefee29d9 Mon Sep 17 00:00:00 2001
From: thomasb
Date: Tue, 19 Feb 2008 22:28:28 +0000
Subject: First steps to implement an installer
git-svn-id: https://svn.roundcube.net/trunk@1118 208e9e7b-5314-0410-a742-e7e81cd9613c
---
roundcubemail/installer/config.php | 188 +++++++++++++++++++++++++++++++++++++
1 file changed, 188 insertions(+)
create mode 100644 roundcubemail/installer/config.php
(limited to 'roundcubemail/installer/config.php')
diff --git a/roundcubemail/installer/config.php b/roundcubemail/installer/config.php
new file mode 100644
index 000000000..effbf2b91
--- /dev/null
+++ b/roundcubemail/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