summaryrefslogtreecommitdiff
path: root/program/include/clisetup.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-09-23 17:38:03 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-09-23 17:38:03 +0200
commit91a449138eaf4d029775479dd0df02d8ad94cdf2 (patch)
tree586fd169401a6ae1969aa63b6675655c41a353cc /program/include/clisetup.php
parent6646809a31db94560bd57a47f11a957904bcb34f (diff)
Add output class for commandline scripts
Diffstat (limited to 'program/include/clisetup.php')
-rw-r--r--program/include/clisetup.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/include/clisetup.php b/program/include/clisetup.php
index 47a40719a..76afde968 100644
--- a/program/include/clisetup.php
+++ b/program/include/clisetup.php
@@ -5,7 +5,7 @@
| program/include/clisetup.php |
| |
| This file is part of the Roundcube Webmail client |
- | Copyright (C) 2010-2012, The Roundcube Dev Team |
+ | Copyright (C) 2010-2014, The Roundcube Dev Team |
| |
| Licensed under the GNU General Public License version 3 or |
| any later version with exceptions for skins & plugins. |
@@ -27,3 +27,6 @@ require_once INSTALL_PATH . 'program/include/iniset.php';
// Unset max. execution time limit, set to 120 seconds in iniset.php
@set_time_limit(0);
+
+$rcmail = rcmail::get_instance();
+$rcmail->output = new rcmail_output_cli();