| | |
| | | <?php |
| | | |
| | | /* |
| | | +-------------------------------------------------------------------------+ |
| | | | Roundcube Webmail setup tool | |
| | | | Version 0.6 | |
| | | | | |
| | | | Copyright (C) 2009-2011, The Roundcube Dev Team | |
| | | | | |
| | | | This program is free software; you can redistribute it and/or modify | |
| | | | it under the terms of the GNU General Public License version 2 | |
| | | | as published by the Free Software Foundation. | |
| | | | | |
| | | | This program is distributed in the hope that it will be useful, | |
| | | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| | | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| | | | GNU General Public License for more details. | |
| | | | | |
| | | | You should have received a copy of the GNU General Public License along | |
| | | | with this program; if not, write to the Free Software Foundation, Inc., | |
| | | | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
| | | | | |
| | | +-------------------------------------------------------------------------+ |
| | | | Author: Thomas Bruederli <roundcube@gmail.com> | |
| | | +-------------------------------------------------------------------------+ |
| | | |
| | | $Id$ |
| | | |
| | | */ |
| | | |
| | | ini_set('error_reporting', E_ALL&~E_NOTICE); |
| | | ini_set('display_errors', 1); |
| | | |
| | |
| | | |
| | | header('Content-type: text/plain'); |
| | | header('Content-Disposition: attachment; filename="'.$filename.'"'); |
| | | |
| | | |
| | | $RCI->merge_config(); |
| | | echo $RCI->create_config($_GET['_mergeconfig'], true); |
| | | exit; |