I had posted this on the forum, and it's kind of come to a screeching
halt with school finals and getting my schedule worked out for the
summer, but it's a the basics of an installer script. You can check it
out at:
http://www.roundcubeforum.net/rcInstall/
And of course comment on it at:
http://www.roundcubeforum.net/index.php?topic=432.0
It's my first real delve into AJAX and all, but the layout is there
(thanks to Roundcube's lovely layout) and some of the items work.
My thought is this:
The user uploads all the files, and fills in the required fields in each
step (no set number, but I put a few there for layout purposes). Once
they've finished, JS calls a PHP script which reads information from the
SESSION array (where everything on each page will be stored to via JS &
PHP) and then attempts to write to the config files (or even write them
outright) on the server. Then the user is instructed to delete the
install directory, and run roundcube.
Obviously some minor changes in Roundcube would need to happen (like
checking of the install dir is even there) so that there isn't a
security issue of someone else running the install script and making
everything go crazy.
--
~ Brett Patterson ~
Roundcube Forum Admin
www.roundcubeforum.net