From 91a449138eaf4d029775479dd0df02d8ad94cdf2 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 23 Sep 2014 11:38:03 -0400
Subject: [PATCH] Add output class for commandline scripts

---
 program/include/clisetup.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/program/include/clisetup.php b/program/include/clisetup.php
index 47a4071..76afde9 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 @@
 
 // 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();

--
Gitblit v1.9.1